Preview a template with ticket data
Template
Preview a template with ticket data
Renders a template fragment using the optional ticket or contract data. When ticketId is provided, AI extracted intent data is injected before rendering. The response returns HTML with <br> tags to preserve formatting in downstream clients.
POST
Preview a template with ticket data
Authorizations
JWT-based authentication
Body
application/json
Template text to render. Supports Handlebars syntax plus a set of Enneo-specific helpers — see the Templates documentation for the full list.
Example:
"<p>Wir haben den Stand {{intent.data.reading}} kWh erfasst.</p>"
Ticket used to hydrate variables (intent data, customer data, etc.).
Example:
8821
Contract ID used to load customer context when no ticket is available.
Example:
"4711-2023"