Attachment Trigger V2

This API is used to send out trigger emails with attachments.

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 abc@recipient.com

The email recipient ID

string
Defaults to XXX

Trigger ID that needs to be used, from cmercury platform

string
Defaults to Your Name

Name to be shown to the Recipient

string
Defaults to email@address.com

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

string
Defaults to Sample Attachment Email Subject

Email Subject

string
Defaults to Html content to be included in the Email

HTML content

string
Defaults to Hi

Include a Text message for those who does not support HTML messages

string
Defaults to email@address.com

The reply to address

string
Defaults to email01@address.com

Optionally include a CC

string
Defaults to email22@address.com

Optionally include a BCC

Attachmenturl
array of strings
Defaults to https://www.xxxx.org/qw/ery.pdf

The URL link of the attachment hosted in a public location. This can include multiple attachments as an array of links

Attachmenturl
Headers
string
Defaults to application/json

Content Type should be application/json

string

Enter the API Token from your account in cmercury

Responses

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