Email Templates
Retrieve an email template
GET
/
email_templates
/
{id}
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
Response
200 - application/json
id
string
requiredThe ID of the email template
name
string
requiredThe name of the email template
subject
string
requiredThe subject of the email template. Variables are supported via {{ variableName }}
body
string | null
requiredThe body of the email template. May be null. Variables are supported via {{ variableName }}
template_json
any | null
requiredThe JSON representing the rich text email template. May be null
template_html
string | null
requiredThe HTML representation of the rich text email. May be null
attachments
object[]
requiredAn array of attachment associted with the email template. Will be sent with every email built from this template