Emails
Draft send an email based off an email template
POST
When providing variables
for filling email templates, ensure that the variable
name matches those inside the email template. At the moment, only “flat”
variables are supported, e.g. fullName
or name
, but customer.name
are not
presently supported.
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
application/json
Response
200 - application/json
A DraftEmail
representing what would have been sent
The response is of type object
.