Skip to navigation

Render email template with variable values

External render email template endpoint (Isometrik credential auth).

Path parameters

template_idstringRequired

Email template ID (usually a TRIGGER)

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
variable_valuesmap from strings to anyOptional

Map of variable_key to runtime value (e.g. brand, otp_code)

layout_idstring or nullOptional

Layout template id when rendering a TRIGGER; defaults to org default layout

body_contentstring or nullOptional

Body HTML when rendering a LAYOUT only (replaces {{BODY_CONTENT}})

Response

OK
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

422
Unprocessable Entity Error