listmonk unofficial
GET/templates/{id}/preview

Preview a template by ID

Renders an HTML preview for a template identified by its integer ID. Supply template_type and body as form-encoded preview parameters.

1 parameter · 2 body fields
idintegerrequired
The integer identifier of the template to preview.

Form-encoded parameters used to render the template preview.

template_typestringoptional
type of template
bodystringoptional
template body

1 status code
200Returns the rendered HTML preview as a string.

Error handling

The id path parameter must identify the template to preview. Use template_type to specify the template type and body to provide the content to render.