API Docs / Operations / Content Blocks / Render Template String

Render Template String

POST /tenants/{tenant}/contentblocks/render-template

Renders an arbitrary Liquid template string (e.g. a subject line) with the provided template variables. Returns the rendered string.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

{
  "template": "string",
  "data": {
    "title": "string",
    "subtitle": "string",
    "secondarySubtitle": "string",
    "postalAddress": "string",
    "addressee": "string"
  }
}

Responses

200 OK
401 Unauthorized – Invalid or missing API key