Renders a content block's body HTML with Liquid tokens resolved using the provided template variables. When includeEmailBranding is true, wraps the result with the tenant's email header, footer, and design theme. Returns the rendered HTML string.
Requires: ViewAll on ContentBlocks.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Request Body*
{
"data": {
"title": "string",
"subtitle": "string",
"secondarySubtitle": "string",
"postalAddress": "string",
"addressee": "string"
},
"includeEmailBranding": false
}
Responses
200 OK
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found