Initiate Domain Claim
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
Initiate Domain Claim
Authorizations
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Headers
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.
Maximum string length:
100Body
application/json
The domain you want to claim, e.g. 'acme.com' or 'send.acme.com'. The root apex is resolved automatically.