Creating a from domain

Create a from domain, after creation you will receive a set of DNS entries back that you should create in your DNS. Once you have done that you can use the verify call to verify that the domain entries have been added succesfully.

When your domain is verified succesfully, you can use it in your from addresses.

POST https://api.cmtelecom.com/bulkemail/v1.0/accounts/{accountID}/fromdomains

POST Parameters

Name In Description Required Type Example
AccountID Path The account guid True Guid A8C062E4-ECFD-48D0-89B1-A37D2622B7A9
Body Body The from domain to create True Json object { "Domain" : "myawesomecompany.com" }
X-CM-PRODUCTTOKEN Header Your product token True Guid C24A5029-37DD-4161-9728-F80D8639588E


Http status Description Example
201 From domain 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", "ModifiedOn": "2018-01-22T14:26:55.503", "DeletedOn": null }
400 Bad request

Try it out