Generate the rendered preview of transactional template
Generate a fully rendered preview of a transactional email template by resolving dynamic variables. Provide either an `email` address (to populate variables from the contact''s attributes) or a `params` object with key-value pairs for manual substitution; at least one of these is required alongside the mandatory `templateId`. The response includes the rendered HTML, subject, sender details, preview text, and any feed names used in the template.
Authentication
api-keystring
The API key should be passed in the request headers as api-key for authentication.
Request
Values to fetch Template preview
OR
Response
successfully fetched template's preview fields
fromEmail
Sender email address
fromName
Sender Name
html
Html content of the template
previewText
Preview text of the template
subject
subject of the template
usedFeedNames
Errors
400
Bad Request Error