Create a new email template using AI
This endpoint can take a while to return an email template. Streaming responses coming soon
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
A description of the content that you'd like to include the email template
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