v5

latestOpenAPI 3.1.02026-08-025631,1012.8 MB
Apps

Add a custom domain

Attach a custom domain to an App.

Returns a verification_token and cname_target. To prove ownership, add a DNS TXT record:

_mixpeek-verify.{domain}  TXT  "mixpeek-site-verification={verification_token}"

Then call POST /{app_id}/domains/{domain}/verify to start polling.

post/v1/apps/{app_id}/domains

Path parameters

app_idstring required

App ID (e.g. app_abc123def456)

App ID (e.g. app_abc123def456)

Request body

domainstring required

Customer domain (e.g. 'search.acme.com')

is_primaryboolean

Set as primary domain

Response

The newly added domain configuration

domainstring required
statusstring required
verification_tokenstring nullable
cname_targetstring nullable
is_primaryboolean required
verified_atstring nullable