1. Intro
  2. From domains
    1. Get all from domains
    2. Get specific from domain
    3. Create from domain
    4. Verify from domain
    5. Delete from domain
    6. From domain object definition
  3. From addresses
    1. Get all from addresses
    2. Get specific from address
    3. Create from address
    4. Update from address
    5. Delete from address
    6. From address object definitions
  4. Address lists
  5. Templates
    1. Get all templates
    2. Get specific template
    3. Create template
    4. Update template
    5. Delete template
    6. Template object definitions
  6. Campaigns
    1. Get all campaigns
    2. Get specific campaign
    3. Create campaign
    4. Update campaign
    5. Delete campaign
    6. Clone campaign
    7. Get statistics
    8. Get clicks
    9. Get statistics details
    10. How to use triggered campaigns
    11. Campaign object definitions
  7. Mailings
    1. Get all mailings
    2. Get specific mailing
    3. Create mailing
    4. Update mailing
    5. Delete mailing
    6. Get statistics
    7. How to use merge fields
    8. Mailing object definitions
  8. Mails
    1. Create mail
    2. Create triggered mail
    3. Mail object definitions
  9. Unsubscriptions
    1. Get all unsubscriptions
    2. Create unsubscription
    3. Delete unsubscription
    4. Unsubscription object definition
  10. Campaign tags
    1. Get all campaign tags
    2. Get specific campaign tag
    3. Create campaign tag
    4. Update campaign tag
    5. Delete campaign tag
    6. Add campaign tag to campaign
    7. Delete campaign tag from campaign
    8. Campaign tag object
  11. Webhooks
    1. Get webhook
    2. Create or update webhook
    3. Delete webhook
    4. Webhook object definition
    5. How to implement the webhook

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

Name In Description Required Type Example
AccountID Path The account guid True Guid A8C062E4-ECFD-48D0-89B1-A37D2622B7A9
FromDomainID Path The from domain guid True Guid EB7100FB-186A-4B61-91A1-64D65493E23B
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E


Http status Description Example
201 From domain verification created { "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 }
400 Bad request

Try it out