Templates
Documentation for emails API
Create an email template
Create a reusable email template (a design saved to the Templates list, not sent by itself). Use it when the user asks for a template or a design to reuse; to send an email to contacts, create a campaign with Create Email Campaign (optionally from this template with `templateId`).
List templates
Get list of templates by location
Import an email template
Import a template from a provider URL
Create a template folder
Create a new template folder
Get Email Template by ID
Get a single email template by its ID
Delete a template
Delete a template
Update an email template
Update email template
Duplicate Email Template
Clone this email template, optionally renaming it or placing it in an active template folder in this location. Returns the same public shape as Get Email Template.
Preview Email Template
Return the saved rendered HTML, subject and preview text of this template exactly as saved, with the merge fields ({{...}}) it still contains. Sends no email; merge fields are filled in per contact at send time.
Test Send Email Template
Send the saved rendered template as a test to one to five email addresses. Uses the stored subject and sender unless overridden; merge fields are filled with sample contact data, not the real recipient values. Limited to 20 test requests per location per hour, shared with campaign tests. Send an Idempotency-Key so a retry does not send twice. Acceptance does not confirm delivery.