Create and manage reusable email templates. Templates contain the HTML/text content and subject line that can be reused across multiple campaigns. Templates support custom attributes, tags, and can be rendered to preview the final output.
Show all templates
List all templates in the account. Results can be filtered by name and sorted by name or creation date.
Required scope(s): templates:read
query Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
pageper_pagewith_countInclude count in the response
Include count in the response
filterValid Terms:
tagnot_tagnameis_owneris_not_owner
Valid Operators:
==
Query separator:
;
Valid Terms:
tagnot_tagnameis_owneris_not_owner
Valid Operators:
==
Query separator:
;
sortSort term and direction, using syntax [-|+]term.
Valid terms:
idcreated_onupdated_onname
Sort term and direction, using syntax [-|+]term.
Valid terms:
idcreated_onupdated_onname
Show all templates › Responses
Successful Response
List of templates
Create a template
Create a new email template with content (HTML, text, and/or JSON), a subject line, and optional tags for organization.
Required scope(s): templates:write
query Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Create a template › Request Body
nameName of the template
descriptionDescription of the template
tagsTags to categorize the template
Create a template › Responses
Successful Response
idID of the created template
objectObject type
createdWhether the template was created
Get a template
Retrieve the full details of a template, including its content (HTML, text, JSON), metadata, tags, and sharing configuration.
Required scope(s): templates:read
path Parameters
template_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Get a template › Responses
Successful Response
Delete a template
Delete a template. Campaigns that were created from this template are not affected — they retain their own copy of the content.
Required scope(s): templates:delete
path Parameters
template_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Delete a template › Responses
Successful Response
idID of the deleted template
objectObject type
deletedWhether the template was deleted
Update a template
Update a template's name, content, or description. All fields are optional — only provided fields are updated.
Required scope(s): templates:write
path Parameters
template_idquery Parameters
account_idOptional Account ID to be used for the request
Optional Account ID to be used for the request
Update a template › Request Body
nameName of the template
descriptionDescription of the template
tagsTags to categorize the template
Update a template › Responses
Successful Response
idID of the updated template
objectObject type
updatedWhether the template was updated
Render a template
Render a template's HTML content with merge tags replaced. Returns the final HTML as it would appear when used in a campaign.
Required scope(s): templates:read
path Parameters
template_idquery Parameters
account_idRender a template › Responses
Successful Response