v2
latestOpenAPI 3.1.0MIT2026-07-26105151330.5 KBDomains
Initiate Domain Claim
Start claiming a domain that is already in use by another workspace. Returns the DNS TXT record you must publish at _migma.<rootDomain> to prove ownership. Requires API key with domain:write.
post/v1/domains/claims
Headers
Idempotency-Keystring
Optional key (max 100 chars) for safe retries. Same key + same body within 24h replays the original response (same status and body); same key + a different body returns 409 IDEMPOTENCY_CONFLICT. Scoped per API key.
Request body
Response
Claim challenge returned. Publish the TXT record, then call /v1/domains/claims/{domain}/verify.