Returns the paginated list of response templates that agents can insert into tickets. When no template matches the provided filters the API responds with HTTP 404.
curl --request GET \
--url https://demo.enneo.ai/api/mind/template \
--header 'Authorization: Bearer <token>'{
"success": true,
"templates": [
{
"id": 12,
"tagId": 101,
"emailTemplateId": 5,
"description": "Reminder: please send your meter reading",
"message": "<p>Hallo {{contract.firstName}},</p><p>bitte sende uns den Stand.</p>",
"subject": "Wir benötigen deinen Zählerstand",
"exampleTicketIds": [
8812,
9100
],
"attachments": []
},
{
"id": 13,
"tagId": null,
"emailTemplateId": 5,
"description": "Default closing",
"message": "<p>Vielen Dank für deine Nachricht.</p>",
"subject": null,
"exampleTicketIds": [],
"attachments": [
{
"name": "instructions.pdf",
"url": "https://cdn.example.com/template/instructions.pdf"
}
]
}
]
}JWT-based authentication
Number of templates to skip before starting to collect the result set.
x >= 0Maximum number of templates to return.
1 <= x <= 500Optional full-text search term applied to description and message fields.
Filter templates that are linked to a specific AI Agent. Acts as a tag filter internally.
Templates found
Show child attributes
The id of the template
1
The id of the tag that the template belongs to
1
The id of the email template that is used for wrapping
1
The description of the intent template
"Zählerstand erfolgreich hinterlegt"
The template itself
"<p>Wir haben den Zählerstand von {{intent.data.reading}} kWh für den {{formatDateDE intent.data.date}} erfasst und im System hinterlegt.</p>"
The subject of the email for outgoing emails
"Wir brauchen Deine Unterstützung"
The ids of the tickets that are used as examples for the intent template
The merged template
"Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt."
The template itself
"<p>Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.</p>"
If true, the template is successful
true
true
curl --request GET \
--url https://demo.enneo.ai/api/mind/template \
--header 'Authorization: Bearer <token>'{
"success": true,
"templates": [
{
"id": 12,
"tagId": 101,
"emailTemplateId": 5,
"description": "Reminder: please send your meter reading",
"message": "<p>Hallo {{contract.firstName}},</p><p>bitte sende uns den Stand.</p>",
"subject": "Wir benötigen deinen Zählerstand",
"exampleTicketIds": [
8812,
9100
],
"attachments": []
},
{
"id": 13,
"tagId": null,
"emailTemplateId": 5,
"description": "Default closing",
"message": "<p>Vielen Dank für deine Nachricht.</p>",
"subject": null,
"exampleTicketIds": [],
"attachments": [
{
"name": "instructions.pdf",
"url": "https://cdn.example.com/template/instructions.pdf"
}
]
}
]
}