POST /messaging/v1/domainverification/register

Registers a domain for validation by generating and returning the token added to the DNS.

JSON Parameters

NameTypeDescription
domainstringRequiredThe root domain of the email address.

Responses

StatusNameTypeDescription
200  OK. Key is created.
 domainstringThe root domain of the email address.
 tokenstringThe token added to the DNS.
 {    "key": "string"}
    
403  Insufficient privileges
 messagestringInvalid domain
 errorcodestringError code for exception
 descriptionstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm

Required Marketing Cloud Permissions

  • Administration, Access

Example Request

Example Response