Create email domain
Adds a sending domain. The response lists the DNS records to publish; verify the domain once they are in place.
POST
Adds a sending domain. The response lists the DNS records to publish; verify the domain once they are in place.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
application/json- body
Adds a sending domain by name.
name*stringA domain you control. A dedicated subdomain such as
mail.example.com keeps your existing mail untouched.
The domain was added. Publish its records, then verify it.
application/json- response
api_version*stringdata*A domain with the records it must publish.
curl -X POST 'https://api.relevate.app/email/domains' \
-H 'Content-Type: application/json' \
-d '{
"name": "string"
}'Example Response
{
"api_version": "string",
"data": {
"created_at": "2019-08-24T14:15:22Z",
"dkim_selector": "string",
"dmarc_mode": "string",
"id": "string",
"last_checked_at": "2019-08-24T14:15:22Z",
"name": "string",
"normalized_name": "string",
"ownership_code_expires_at": "2019-08-24T14:15:22Z",
"ownership_verified_at": "2019-08-24T14:15:22Z",
"receiving_enabled": true,
"receiving_verified_at": "2019-08-24T14:15:22Z",
"records": [
{
"detail": "string",
"found": [
"string"
],
"name": "string",
"priority": 0,
"purpose": "string",
"status": "string",
"type": "string",
"value": "string"
}
],
"status": "string",
"updated_at": "2019-08-24T14:15:22Z"
}
}