Skip to main content

Create a from address

Create a from address. You can only create a from addresses for a domain you have verified.

POST https://api.cm.com/bulkemail/v1.0/accounts/{accountID}/fromaddresses

POST Parameters​

NameInDescriptionRequiredTypeExample
AccountIDPathThe account guidTrueGuidA8C062E4-ECFD-48D0-89B1-A37D2622B7A9
BodyBodyThe from address to createTrueJson objectSee example request
X-CM-PRODUCTTOKENHeaderYour product tokenTrueGuidC24A5029-37DD-4161-9728-F80D8639588E
Example request
{
"Name" : "John Doe",
"EmailAddress" : "[email protected]"
}

Responses​

Http statusDescription
201From address created
400Bad request
Example response
{
"ID": "860ab261-0a7a-470d-b615-f99523a38f4c",
"AccountID": "a8c062e4-ecfd-48d0-89b1-a37d2622b7a9",
"Name": "John Doe",
"EmailAddress": "[email protected]",
"CreatedOn": "2017-08-04T11:06:43.826",
"CreatedOnUtc": "2017-08-04T10:06:43.826Z",
"ModifiedOn": "2017-08-04T11:06:43.826",
"ModifiedOnUtc": "2017-08-04T10:06:43.826Z",
"DeletedOn": null,
"DeletedOnUtc": null
}