Skip to main content
POST
Render an email template

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Email template UUID.

Body

application/json
template_variables
object

Variables for Liquid template rendering. Non-object values are silently treated as an empty object.

Response

Rendered template content.

data
object
required

Template object with subject, html_body, and text_body replaced by their Liquid-rendered values. All other template fields (id, name, variables, etc.) remain unchanged.