RenderTemplateStringRequest
Request to render an arbitrary Liquid template string with the provided variables.
Use for rendering subject lines or other template strings outside of content blocks.
Properties
| Name | Type | Description |
|---|---|---|
| template* | string | The Liquid template string to render (e.g. a subject line like "Professional Clearance for {{ Client.Name }}") |
The Liquid template string to render (e.g. a subject line like "Professional Clearance for {{ Client.Name }}") | ||
| data | TemplateVariables | |
JSON Example
{
"template": "string",
"data": {
"title": "string",
"subtitle": "string",
"secondarySubtitle": "string",
"postalAddress": "string",
"addressee": "string"
}
}