v13

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-04237161688.6 KB
Email & SMS Templates

Preview changes to a template

Returns a preview of a template for a given template_type, slug and body

post/templates/{template_type}/{slug}/preview

Path parameters

template_typestring required

The type of template to preview

slugstring required

The slug of the template to preview

Request body

subjectstring nullable

The email subject. Applicable only to email templates.

bodystring

The template body before variable interpolation

from_email_namestring

The local part of the From email address that will be used for emails. For example, in the address 'hello@example.com', the local part is 'hello'. Applicable only to email templates.

reply_to_email_namestring

The local part of the Reply To email address that will be used for emails. For example, in the address 'hello@example.com', the local part is 'hello'. Applicable only to email templates.

Response

OK

object required