POST
/templates/previewPreview a template
Generates an HTML preview from the supplied template parameters. Provide template_type to identify the template type and body to supply the template content.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Form-encoded parameters used to generate an HTML template preview.
template_typestringoptional
type of template
bodystringoptional
template body
200Returns the rendered HTML preview as a string.
Error handling
Use template_type to specify the type of template to preview and body to provide its content.