Connect a domain
Authorizations
API key in the format: Bearer {api_token}
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
255Body
Slug of a public published page to serve at this hostname. A gated page can't be served on a custom domain, and a hostname serves either a site or one page.
Serve every published page of the account at https:///, members-only ones included: viewers sign in on the hostname and each page keeps its own access. One pages domain per account; it cannot also serve a site or a single page.
Response
Domain
pending_payment, registering, registered, failed, null Whether the registration renews itself before expires_at; null for a domain connected rather than bought here. Change it with PATCH auto_renew.
True when the domain serves every published page of the account at https:///.

