Dynamic Template Trigger V2

This API is used to send out Dynamic triggers which would have a static content set in the panel and the Dynamic potion would be passed along with the API call.

This version adds a new field named "messageId" to its response body. The "messageId" is the unique identifier for each API request made. The same id can be used to connect event notifications that are send to your webhook for events like delivered, bounce, open, click, spam and unsubscribe.

The same "messageId" can also be used for getting reports using trigger report APIs. Pass the "messageid" for the "UniqueId" field in those APIs.

Note : You may use the API Base URL apiv2.cmercury.com for support for recommended cipher suits of TLS1.2 and TLS1.3.
Use the API Base URL api.cmercury.com if you use older cipher suits of TLS1.2 and below.

Log in to see full request history
Body Params
string
Defaults to recipient@emailaddress.com

The email recipient ID

string
Defaults to XXX

Trigger ID that needs to be used, from cmercury platform

string
Defaults to Caspar

Name to be shown to the Recipient

string
Defaults to fromaddress@email.com

The Email Address of the sender. This should be an approved domain in your account.

string
Defaults to Hello There

Email Subject

string
Defaults to replyemail@address.com
HtmlMergeFields
array

Provide Code Value pairs of the content to be merged to the HTML content. The code should be already included in the HTML of the campaign, created in the cmercury platform. The value will replace the code in that HTML.

HtmlMergeFields
Headers
string
Defaults to application/json
string
Defaults to abcdefg

API Token from cmercury account

Responses

Language
Click Try It! to start a request and see the response here! Or choose an example:
application/json