Emails
Send an email based off an email template
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
headerrequiredBasic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
id
string
requiredThe ID of the email template
Body
application/json
from
string
requiredThe ID of the email address from which to send the email
to
string
requiredThe 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
requiredThe ID of the email