POST /messaging/v1/domainverification/verify

Overview

Checks whether a domain already exists.

JSON Parameters

Name Type Description
domain string The root domain of the email address.
key boolean The domain’s stored token key.

Usage

Required Marketing Cloud Permissions

  • Administration, Access

Example Request

Host: https://YOUR_SUBDOMAIN.rest.marketingcloudapis.com
POST /messaging/v1/domainverification/verify
Content-Type: application/json
Authorization: Bearer YOUR_ACCESS_TOKEN

{
    "Domain" : "example.com",
    "Key" : ""
}

Example Response

HTTP/1.1 200 OK
{
    "Domain" : "example.com",
    "Key" : "SFMC-T2isWsgr_EPofeVerEFItSRDvoJz-EFq9u5zwer0"
}
Last Updated: Jun 8, 2021