Create an email template
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 plain text of the email. Mutually exclusive with rich text emails
The name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
An array of attachments that will always be sent with this template
Must be null or omitted
Must be null or omitted
Response
An array of attachment associted with the email template. Will be sent with every email built from this template
The body of the email template. May be null. Variables are supported via {{ variableName }}
The ID of the email template
The name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
The HTML representation of the rich text email. May be null
The JSON representing the rich text email template. May be null