Typescript (SDK)
Sites
Add a domain to a site
Connects a custom domain to this site, registers a Cloudflare custom hostname, and returns the DNS records to add. Verification is asynchronous — call the verify endpoint after adding the records.
POST
Typescript (SDK)
Authorizations
API key in the format: Bearer {api_token}
Path Parameters
The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")
Body
application/json
Response
Domain connected (pending verification)
Available options:
pending, ssl_pending, active, error, null 
