GET
/
template
curl --request GET \
  --url https://demo.enneo.ai/api/mind/template
[
  {
    "id": 1,
    "tagId": 1,
    "emailTemplateId": 1,
    "description": "Zählerstand erfolgreich hinterlegt",
    "message": "<p>Wir haben den Zählerstand von {{intent.data.reading}} kWh für den {{formatDateDE intent.data.date}} erfasst und im System hinterlegt.</p>",
    "subject": "Wir brauchen Deine Unterstützung",
    "exampleTicketIds": [
      1
    ],
    "mergedTemplate": "Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.",
    "template": "<p>Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.</p>",
    "success": true
  }
]

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Query Parameters

q
string

Search query

limit
integer
default:
100

The number of items to return

Required range: 1 < x < 1000
offset
integer
default:
0

The number of items to skip

Required range: x > 0

Response

200
application/json
Successful operation
id
integer

The id of the intent template

tagId
integer

The id of the tag that the template belongs to

emailTemplateId
integer

The id of the email template that is used for wrapping

description
string

The description of the intent template

message
string

The template itself

subject
string

The subject of the email for outgoing emails

exampleTicketIds
integer[]

The ids of the tickets that are used as examples for the intent template

mergedTemplate
string

The merged template

template
string

The template itself

success
boolean

If true, the template is successful