What is Template?
A template is a named collection of HTML content stored on the server side. Templates are used in an email sending API by providing the template id of the template at the time of email sending request. The text inside the template is run through the substitution engine to produce recipient specific email messages by replacing the attribute placeholders with its respective value.
Note: Templates created on a parent/master account will not be accessible from the sub accounts.
This API endpoint enables you to
add new email templates.
The HTML content which you would like to save as template. You can use attributes to display dynamic values such as name, account number, etc. for ex. [% NAME %] for NAME , [% AGE %] for AGE etc. It is recommended to pass the HTML content in the API as “URL encoded” to avoid any type of content distortion during the transmission/delivery of emails.
The name of the new template.