Skip to main content

Verify a from domain

Once you have created your from domain and added the DNS entries to your domain, you can use this method to verify that you have done this correctly. Please take into account that it can take up to 24 hours for DNS records to be visible.

When the domain is verified and is valid, you can use it in your from addresses to send mail.

POST https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/fromdomains/{fromDomainID}/verify

POST Parameters​

NameInDescriptionRequiredTypeExample
AccountIDPathThe account guidTrueGuidA8C062E4-ECFD-48D0-89B1-A37D2622B7A9
FromDomainIDPathThe from domain guidTrueGuidEB7100FB-186A-4B61-91A1-64D65493E23B
X-CM-PRODUCTTOKENHeaderYour product tokenTrueGuidC24A5029-37DD-4161-9728-F80D8639588E

Responses​

Http statusDescription
201From domain verification created
400Bad request
Example response
{
"ID": "eb7100fb-186a-4b61-91a1-64d65493e23b",
"AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
"Domain": "myawesomecompany.com",
"IsValid": true,
"DnsEntries": [
{
"Host": "links.myawesomecompany.com",
"Type": "CNAME",
"Value": "cmemailcampaigns.com",
"IsValid": true
},
{
"Host": "s1._domainkey.myawesomecompany.com",
"Type": "CNAME",
"Value": "s1.domainkey.u6456269.wl020.cmemailcampaigns.com",
"IsValid": true
},
{
"Host": "6456269.myawesomecompany.com",
"Type": "CNAME",
"Value": "cmemailcampaigns.com",
"IsValid": true
},
{
"Host": "s2._domainkey.myawesomecompany.com",
"Type": "CNAME",
"Value": "s2.domainkey.u6456269.wl020.cmemailcampaigns.com",
"IsValid": true
},
{
"Host": "sg.myawesomecompany.com",
"Type": "CNAME",
"Value": "u6456269.wl020.cmemailcampaigns.com",
"IsValid": true
}
],
"CreatedOn": "2018-01-22T14:26:55.503",
"CreatedOnUtc": "2018-01-22T13:26:55.503Z",
"ModifiedOn": "2018-01-22T14:26:55.503",
"ModifiedOnUtc": "2018-01-22T13:26:55.503Z",
"DeletedOn": null,
"DeletedOnUtc": null
}