Fire Trigger

Use this API to send out mailers using the Fire trigger feature in the panel.

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.

Body Params
string
Defaults to [email protected]

The email ID of the recipient to whom you need to send the trigger message.

int32
Defaults to null

The ID of the fire trigger you have created in your cmercury account. (eg: 1270)

string
Defaults to Caspar

The sender name which you wish to appear in the message along with the subject line. (eg: ABC Support)

string
Defaults to [email protected]

From Email ID configured based on your domain name.

string
Defaults to Hello There

Subject line of the message that wish you to appear in recipient’s inbox.

string
Defaults to Hello, Caspar wishes you a good day ahead. Regards Caspar

URL encoded form of the email HTML design.

string
Defaults to Hi Text

Corresponding text version of your HTML.

string
Defaults to [email protected]

Email address to which you want your recipient to send his/her reply.

Headers
string
Defaults to application/json

Content-Type should be application/json

string

API Token from your cmercury account

Responses

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