POST /messaging/v1/domainverification/verify

Checks whether a domain already exists.

JSON Parameters

NameTypeDescription
domainstringThe root domain of the email address.
keybooleanThe domain’s stored token key.

Responses

StatusNameTypeDescription
200  OK
 domainstringThe root domain of the email address.
 keybooleanThe domain’s stored token key.
    
400  Bad request
 messagestringInvalid domain. Can’t verify the domain.
 errorcodestringError code for exception
 descriptionstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm
    
403  Insufficient privileges
 messagestringInvalid domain. Can’t verify the domain.
 errorcodestringError code for exception
 descriptionstringhttps://developer.salesforce.com/docs/atlas.en-us.mc-apis.meta/mc-apis/error-handling.htm
    
500  Internal server error
 messagestringInvalid domain. Can’t verify the 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