Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Telnyx API key supplied as Authorization: Bearer <token>. In production, auth may be validated by the API gateway and forwarded via Telnyx auth headers.

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.