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 business
Body
The name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
The plain text of the email. Mutually exclusive with rich text emails
An array of attachments that will always be sent with this template
Whether this is a one off email template
The metadata of the email template
The kind of the email template
plaintext
Response
The created 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