POST /messaging/v1/domainverification/verify

Checks whether a domain already exists.

NameTypeDescription
domainstringThe root domain of the email address.
keybooleanThe domain’s stored token key.
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

This action requires the Administration | Access permission.

To verify if a domain exists, issue a POST request to the /messaging/v1/domainverification/verify endpoint.

The response includes information about the status of the request.