Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare Custom Hostname for a Zone API

9 actions 9 updates phrasing extends openapi/cloudflare-custom-hostname-for-a-zone-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 9

$.info
$.paths['/zones/{zone_id}/custom_hostnames'].get
$.paths['/zones/{zone_id}/custom_hostnames'].post
$.paths['/zones/{zone_id}/custom_hostnames/quota'].get
$.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].get
$.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].delete
$.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].patch
$.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}'].put
$.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Cloudflare Custom Hostname for a Zone API
  version: 1.0.0
extends: openapi/cloudflare-custom-hostname-for-a-zone-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 8
- target: $.paths['/zones/{zone_id}/custom_hostnames'].get
  update:
    x-apievangelist-phrasing:
      intent: List custom hostnames for a zone
      effect: read
      questions:
      - Which custom hostnames are set up on my zone?
      - Can I filter custom hostnames by SSL status or hostname status?
      - How do I find a custom hostname by its base domain?
      instructions:
      - text: List custom hostnames for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Find custom hostnames on {zone_id} with SSL status {ssl_status}.
        slots:
          zone_id: path.zone_id
          ssl_status: query.ssl_status
      - text: List custom hostnames on {zone_id} whose hostname contains {hostname}.
        slots:
          zone_id: path.zone_id
          hostname: query.hostname.contain
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a custom hostname and request an SSL certificate
      effect: write
      questions:
      - How do I point a custom hostname at my origin and get an SSL certificate?
      - Can I choose the validation method when adding a custom hostname?
      - What happens to the SSL certificate when I add a custom hostname?
      instructions:
      - text: Add custom hostname {hostname} to zone {zone_id}.
        slots:
          hostname: requestBody.hostname
          zone_id: path.zone_id
      - text: Create custom hostname {hostname} on {zone_id} with SSL {ssl}.
        slots:
          hostname: requestBody.hostname
          zone_id: path.zone_id
          ssl: requestBody.ssl
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/quota'].get
  update:
    x-apievangelist-phrasing:
      intent: Check custom hostname quota usage
      effect: read
      questions:
      - How many custom hostnames am I using versus my quota?
      - Is my custom hostname usage above the soft limit?
      instructions:
      - text: Get custom hostname quota for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show custom hostname usage and quota on {zone_id}.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get details of one custom hostname
      effect: read
      questions:
      - What is the SSL certificate status of a specific custom hostname?
      - How do I check ownership verification for one custom hostname?
      instructions:
      - text: Show custom hostname {custom_hostname_id} in zone {zone_id}.
        slots:
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      - text: Get SSL and origin details for custom hostname {custom_hostname_id} on {zone_id}.
        slots:
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom hostname and its SSL certificates
      effect: destructive
      questions:
      - How do I remove a custom hostname and revoke its SSL certificate?
      - Can I delete a custom hostname and its issued certificates permanently?
      instructions:
      - text: Delete custom hostname {custom_hostname_id} from zone {zone_id}.
        slots:
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      - text: Remove custom hostname {custom_hostname_id} on {zone_id} and its SSL certificates.
        slots:
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a custom hostname's SSL settings
      effect: write
      questions:
      - How do I change the SSL configuration of an existing custom hostname?
      - Can I switch the validation method on a custom hostname I already added?
      instructions:
      - text: Set SSL {ssl} on custom hostname {custom_hostname_id} in zone {zone_id}.
        slots:
          ssl: requestBody.ssl
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      - text: Change the origin server of custom hostname {custom_hostname_id} on {zone_id} to {custom_origin_server}.
        slots:
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
          custom_origin_server: requestBody.custom_origin_server
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a custom certificate in a custom hostname
      effect: write
      questions:
      - How do I upload a new custom certificate to a custom hostname?
      - Can I replace one certificate in a bundled certificate pack?
      instructions:
      - text: Replace certificate {certificate_id} in pack {certificate_pack_id} of custom hostname {custom_hostname_id} on {zone_id} with {custom_certificate} and key {custom_key}.
        slots:
          certificate_id: path.certificate_id
          certificate_pack_id: path.certificate_pack_id
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
          custom_certificate: requestBody.custom_certificate
          custom_key: requestBody.custom_key
      - text: Upload custom certificate {custom_certificate} and key {custom_key} to custom hostname {custom_hostname_id} (zone {zone_id}, pack {certificate_pack_id}, cert {certificate_id}).
        slots:
          custom_certificate: requestBody.custom_certificate
          custom_key: requestBody.custom_key
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
          certificate_pack_id: path.certificate_pack_id
          certificate_id: path.certificate_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one certificate from a custom hostname's bundle
      effect: destructive
      questions:
      - How do I remove a single certificate from a bundled certificate pack on a custom hostname?
      - Can I delete one certificate without deleting the other in a custom hostname bundle?
      instructions:
      - text: Delete certificate {certificate_id} from pack {certificate_pack_id} on custom hostname {custom_hostname_id} in zone {zone_id}.
        slots:
          certificate_id: path.certificate_id
          certificate_pack_id: path.certificate_pack_id
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
      - text: Remove only certificate {certificate_id} from custom hostname {custom_hostname_id} (zone {zone_id}, pack {certificate_pack_id}).
        slots:
          certificate_id: path.certificate_id
          custom_hostname_id: path.custom_hostname_id
          zone_id: path.zone_id
          certificate_pack_id: path.certificate_pack_id
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-custom-hostname-for-a-zone-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.