GET
/templates/{id}/previewPreview 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.
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
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.