Domains

Connect a domain

Connect a hostname. web routing defaults on (attached to site_id or the storefront); email capabilities are explicit opt-ins. The response carries capabilities, records[] with per-record DNS status, and next_step.

post/domains

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/domains
  • Auth: API key in header Authorization

Headers

Idempotency-Keystring

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.

Request body

namestring required
site_idstring

Response

Domain

objectstring required
idstring required
domainstring required
purchase_status'pending_payment' | 'registering' | 'registered' | 'failed' | 'null' nullable required
site_idobject required
managed_zoneboolean required
zone_idobject required
capabilitiesobject required
recordsobject required
next_stepobject required
verified_atstring date-time nullable
created_atstring date-time required
verification_errorsstring[] required

Changes

No recorded changes to this operation across all 2 revisions of this API.