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

Example:

1

tagId
integer

The id of the tag that the template belongs to

Example:

1

emailTemplateId
integer

The id of the email template that is used for wrapping

Example:

1

description
string

The description of the intent template

Example:

"Zählerstand erfolgreich hinterlegt"

message
string

The template itself

Example:

"<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
string

The subject of the email for outgoing emails

Example:

"Wir brauchen Deine Unterstützung"

exampleTicketIds
integer[]

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

mergedTemplate
string

The merged template

Example:

"Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt."

template
string

The template itself

Example:

"<p>Wir haben den Zählerstand von 123 kWh für den 01.01.2022 erfasst und im System hinterlegt.</p>"

success
boolean

If true, the template is successful

Example:

true