API Docs / Operations / Content Blocks / Preview Content Block

Preview Content Block

GET /tenants/{tenant}/contentblocks/{code}/render

Renders a content block by code with template variables built server-side. When clientCode is supplied, hydrates client/business/contacts/practice/key dates/custom fields. Otherwise renders with practice details and date/year tokens only. Returns text/html so the response can be opened directly in a browser.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

code* path string
clientCode query string

Responses

200 OK
text/html
401 Unauthorized – Invalid or missing API key
404 Not Found

Try it