Authorizations
Bearer authentication header of the form Bearer
<token>, where <token> is your auth token.Body
Email data to sendRecipient email address and name
Sender email address (must be from a verified domain) and name
Email subject line (max 998 characters). Required if not using templateId.Maximum length:
998Example: "Welcome to Our Platform!"HTML content of the email. Required if not using templateId.Handlebars Template Variables:Use Handlebars syntax for template variables in your HTML. Variables are wrapped in double curly braces: Provide the values for these variables in the
{{variableName}}.
Example:dynamicData field.Example:Key-value pairs for template variable substitution (Handlebars syntax)Example:
Plain text version of the emailExample:
"Welcome! Thanks for signing up."ID of the email template to use. Required if not providing html/text.Example:
"tmpl_abc123"Reply-to email address and name
ID of the unsubscribe groupExample:
"unsub_group_123"Filename and content of attachments.Example:
Maximum 20 files can be attached to an email. The total size of the email should be max 40MB after Base64 encoding of the attachments.
What attachment types are not supported?
.adp .app .asp .bas .bat
.cer .chm .cmd .com .cpl
.crt .csh .der .exe .fxp
.gadget .hlp .hta .inf .ins
.isp .its .js .jse .ksh
.lib .lnk .mad .maf .mag
.mam .maq .mar .mas .mat
.mau .mav .maw .mda .mdb
.mde .mdt .mdw .mdz .msc
.msh .msh1 .msh2 .mshxml .msh1xml
.msh2xml .msi .msp .mst .ops
.pcd .pif .plg .prf .prg
.reg .scf .scr .sct .shb
.shs .sys .ps1 .ps1xml .ps2
.ps2xml .psc1 .psc2 .tmp .url
.vb .vbe .vbs .vps .vsmacros
.vss .vst .vsw .vxd .ws
.wsc .wsf .wsh .xnkResponse
Email queued successfullyIndicates if the request was successfulExample:
true