API referenceDomains
Add a sending domain
POST
bearerAuthheader
AuthorizationBearer <mr_live_ / mr_test_>API key. Never log the secret.
Idempotency-Key?stringStored 24h. Same key + body returns the original response.
application/json- body
name*stringregion?stringDomain with DNS records
application/json- response
id?stringname?stringstatus?stringpending means DNS is right and the provider is still confirming the domain.
Value in
"pending""verified""failed"receiving_enabled?booleantracking_enabled?booleanmanaged?booleanprovider_status?string|nulllast_checked_at?|Format
date-timerecords?array<>curl -X POST 'https://api.mailroom.gosuevals.com/v1/domains' \ -H 'Content-Type: application/json' \ -d '{ "name": "string"}'Example Response201
{ "id": "string", "name": "string", "status": "pending", "receiving_enabled": true, "tracking_enabled": true, "managed": true, "provider_status": "string", "last_checked_at": "2019-08-24T14:15:22Z", "records": [ { "type": "CNAME", "name": "string", "value": "string", "status": "pending", "observed": "string", "purpose": "dkim", "required": true, "note": "string" } ]}