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 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
Must be null or omitted
Must be null or omitted
Response
The ID of the email template
The name of the email template
The subject of the email template. Variables are supported via {{ variableName }}
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