POST /messaging/v1/domainverification/register
Registers a domain for validation by generating and returning the token added to the DNS.
Name | Type | Description |
---|---|---|
domain | string | Required. The root domain of the email address. |
Status | Name | Type | Description |
---|---|---|---|
200 | OK. Key is created. | ||
domain | string | The root domain of the email address. | |
token | string | The token added to the DNS. | |
{ "key": "string"} | |||
403 | Insufficient privileges | ||
message | string | Invalid domain | |
errorcode | string | Error code for exception | |
description | string | https://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm |
This action requires the Administration | Access
permission.
To register a domain, issue a POST request to the /messaging/v1/domainverification/register
endpoint.
The response includes information about the status of the request.