Templates API is currently in private beta and only available to a limited
number of users.
Body Parameters
The name of the template.
The alias of the template.
Sender email address.To include a friendly name, use the format
"Your Name <sender@domain.com>"
.If provided, this value can be overridden when sending an email using the template.Email subject.If provided, this value can be overridden when sending an email using the template.
The HTML version of the template.
The plain text version of the message.
If not provided, the HTML will be used to generate a plain text version. You can opt out of this behavior by setting value to an empty string.
The React component used to write the template. Only available in the Node.js
SDK.
The array of variables used in the template. Each template may contain up to 20 variables.Each variable is an object with the following properties:
Before you can use a template, you must publish it first. To publish a
template, use the Templates dashboard or
publish template API.