Send an email based off an email template
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
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the email template
Body
The ID of the email address from which to send the email
The email address to send the email to
An array of attachments to include with the email
The variables to be injected into the email template
The ID of the email address from which to send the email
The email address to send the email to
An array of attachments to include with the email
The variables to be injected into the email template
The ID of the email address from which to send the email
The ID of the customer to send the email to
An array of attachments to include with the email
The variables to be injected into the email template in addition to the variables already induced by the customer
Response
The ID of the email