Email campaigns


CM's Email campaigns API enables you to send email campaigns to your recipients. You can integrate this in your application by communicating with our api.

The Email campaigns API is a REST API that uses JSON to communicate.


Authentication and authorisation is done via a product token. You can obtain your product token from the messaging gateway app. If you don't see that app you might have got it via your account manager or you can contact support to obtain one.

For all methods described in this api, the product token should be provided by including it in the X-CM-PRODUCTTOKEN header.

Getting your accountID

In all methods you need to provide the accountID. This is a guid that identifies your account. This identifier can be found on the url of the email campaigns application (, after the language indicator. Below you can find some url examples and the corresponding accountID.

Url AccountID a66b6ba2-7b13-4caf-abf6-c736c977c1d4
https://emailcampaigns.staging.clubmessage.local/fr/fe266716-d8ff-4aba-bddb-c61f8f40c656#/Templates fe266716-d8ff-4aba-bddb-c61f8f40c656
https://emailcampaigns.staging.clubmessage.local/de/3b64204e-6a10-4f5b-ae80-292e4ac6c57a#/Campaigns/9a8e64d5-002e-4f34-855d-527758f74c67 3b64204e-6a10-4f5b-ae80-292e4ac6c57a