Zum Hauptinhalt springen
GET
/
template
List response templates
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"
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

JWT-based authentication

Query Parameters

offset
integer
default:0

Number of templates to skip before starting to collect the result set.

Erforderlicher Bereich: x >= 0
limit
integer
default:100

Maximum number of templates to return.

Erforderlicher Bereich: 1 <= x <= 500
q
string

Optional full-text search term applied to description and message fields.

aiAgentId
integer

Filter templates that are linked to a specific AI Agent. Acts as a tag filter internally.

Response

Templates found

templates
object[]
success
boolean
Example:

true