POST /v1/templates/{id}/render
This is a pure render: nothing is queued or delivered. To send a template, pass templateId + data to POST /v1/emails instead — the pipeline renders it for you.
Path parameters
string
required
The template
id or slug to render.Body parameters
object
Merge variables, keyed by placeholder name. Nested objects are reachable with dot paths (
{{user.name}}). Omit to render with no substitutions.Request
Response
string
The rendered subject line.
string | null
The rendered HTML body, or
null if the template has none.string | null
The rendered plain-text body, or
null.string[]
Variables referenced by the template but absent from
data. They render as empty strings; surface this array in QA to catch gaps.200 OK
