POST
/
email_templates
/
{id}
/
send

This endpoint supports email attachments via the attachments field in the POST request. Note that the attachment contents must be in Data URL format. Furthermore, we only support base64 encoding

Authorizations

Authorization
string
headerrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The ID of the email template

Body

application/json
from
string
required

The ID of the email address from which to send the email

to
string
required

The email address to send the email to

attachments
object[]

An array of attachments to include with the email

variables
object

The variables to be injected into the email template

Response

200 - application/json
id
string
required

The ID of the email