Skip to main content
POST
Render Email Template

Body

application/json

Request schema for rendering a template without sending.

Attributes: template_type: Template type to render (e.g., 'email_verification'). variables: Dictionary of variables for template rendering. locale: Optional language/locale code (default: 'en'). account_id: Optional account ID for template lookup.

template_type
string
required
variables
Variables · object
required
locale
string
default:en
account_id
string | null
subject
string | null
html_body
string | null
text_body
string | null

Response

Successful Response

Response schema for rendered template content.

Attributes: subject: Rendered subject line. html_body: Rendered HTML body. text_body: Rendered plain text body.

subject
string
required
html_body
string
required
text_body
string
required