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 name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
The plaintext version of the body of the email template. Variables are supported via {{ variableName }}
The HTML representation of the email template. Mutually exclusive with plain text email templates.
The JSON representation of the email template. This will override the name
, subject
, and body
properties
The JSON representing the rich text email template. Mutually exclusive with plain text email templates
The HTML representation of the rich text email template. Mutually exclusive with plain text email templates
An array of existing attachment IDs or new attachments that will always be sent with this template
The kind of the email template
unlayer
, editor
, old_editor
, html
, plaintext
The metadata for the email template
Response
The updated EmailTemplate
object
The ID of the email template
The name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
The kind of the email template
plaintext
, html
, unlayer
, old_editor
, editor
The body of the email template. May be null. Variables are supported via {{ variableName }}
The JSON representing the rich text email template. May be null
The HTML representation of the rich text email. May be null
An array of attachment associted with the email template. Will be sent with every email built from this template