Create a ticket
JWT-based authentication
realtime = immediately run the AI logic synchronously; batch = process the AI asyncronously; false = not run pre-run AI agents. AI will be run on first user view;
realtime, batch, false Ticket object to create
For new tickets, the email/id of the requester, typically the customer name
For new Tickets: The original requester, typically the customer name For outgoing emails: The name of the sender, typically the name of the mailbox (null value). If provided, the name is used, e.g. if an agent wants to send a personalized mail in his own name.
null
The ID of the subchannel (=mailbox) from which the ticket should be sent. The list of subchannels is available through the /settings/subchannel endpoint
2
For new tickets: Optional, to which mailbox this was sent to. For outgoing emails: The email of the customer that the email should be sent to
For new tickets: Optional, to which mailbox this was sent to in cc. For outgoing emails: The cc emails that the email should be sent to
Only for outgoing emails: The bcc emails that the email should be sent to
Priority of ticket
low, medium, high, urgent "low"
Channel of ticket
email, portal, phone, letter, system, chat, walkIn "email"
Status of ticket
open, pending, closed "open"
"Ticket subject"
Can be either HTML (preferred if available) or plaintext
"<p>Ticket body<p>"
"2021-01-01 00:00:00"
"2021-01-02 00:00:00"
"2021-01-07 00:00:00"
If available, a contract id that was already identified for this ticket. If not set, enneo will attempt to auto-detect the contract
null
If available, the unique identifier of a third-party ticketing system can be stored in enneo
null
Any raw source data from the originating system in the proprietary format. Any data passed here is stored for later use via API or user defined functions.
null
If available, a template id to be rendered into ticket body using data provided in templateData parameter.
null
Data to be used while rendering template into ticket body.
null
Successful operation
A ticket, e.g. an email conversation, call or chat conversation.
⚠️ Response format varies by endpoint:
376189
Direction of the ticket
in, out, internal "in"
Sender of email. Used when channel is not call. Null is channel=system
Provided when customer's request included a Name, e.g. 'Tom Mustermann [email protected]' for an email or during the chat bot initialization. Null when not set
"Tom Mustermann"
Recipent of request. Can be an array of email addresses, but also a phone number or chat group name depending on channel
E-Mail address, used when channel is email,portal,chat
⚠️ DEPRECATED: Use replyRecipients.cc instead. Any emails in CC. Used when channel=email, otherwise empty array
⚠️ DEPRECATED: Use replyRecipients.bcc instead. Any emails in BCC. Used when channel=email, otherwise empty array
⚠️ DEPRECATED: Use replyRecipients.cc instead. Any emails in CC for a reply. Used when channel=email, otherwise empty array
Recommended recipients for replying to this ticket. Calculated based on channel, direction, latest conversation, and ERP data. Returns null for system tickets (cannot be replied to).
{
"to": ["[email protected]"],
"cc": ["[email protected]"],
"bcc": []
}ID of the subchannel
Unique identifier from an external ticketing system.
Can be provided when creating a ticket via POST /ticket to prevent duplicates. If a ticket with this externalTicketId already exists, it will be updated instead of creating a new one.
"EXT-12345"
AI-detected sentiment
"positive"
Detected language name
"English"
Detected language code
"en"
When the ticket should be auto-executed
Level of AI support for this ticket
unprocessed, human, bot, automated Whether the customer is currently active
Name of the ticketing system interface
internal "internal"
Priority of ticket
low, medium, high, urgent "low"
Channel of ticket
email, portal, phone, letter, system, chat, walkIn "email"
Unique ID of chat conversation. Used when channel=chat
"32291c7e-1cce-4d4c-8269-15e6a6501466"
Status of ticket
open, pending, closed "open"
Summary of request
"I want to relocate and send you a meter reading"
Subject of email
"I want to relocate and send you a meter reading"
Body of request in plain text form (no HTML).
⚠️ Only included in GET /ticket/{id}, NOT in POST /ticket/search responses. May be null if ticket has no body content.
"Sehr geehrter Kundenservice,\n\nkönnten Sie bitte den beiliegenden Zählerstand meines Zählers in Ihr System eintragen und mir eine Zwischenrechnung zukommen lassen? Außerdem würde ich gerne zu meiner neuen Adresse Hugo-Junkers-Str. 5 in 82031 Grünwald wechseln. Ich ziehe nächsten Donnerstag ein. Können Sie meinen alten Vertrag zum 1. November für mich kündigen?\n\nIch danke Ihnen, Tom"
Body of request in originial form (incl. HTML).
⚠️ Only included in GET /ticket/{id}, NOT in POST /ticket/search responses. May be null if ticket has no body content.
"<p>Sehr geehrter Kundenservice,</p><p>könnten Sie bitte den beiliegenden Zählerstand meines Zählers in Ihr System eintragen und mir eine Zwischenrechnung zukommen lassen? Außerdem würde ich gerne zu meiner neuen Adresse Hugo-Junkers-Str. 5 in 82031 Grünwald wechseln. Ich ziehe nächsten Donnerstag ein. Können Sie meinen alten Vertrag zum 1. November für mich kündigen?</p><p>Ich danke Ihnen, Tom</p>"
Version of body without any footers, signatures or other non-relevant content. Used as input for AI models.
⚠️ Only included in GET /ticket/{id}, NOT in POST /ticket/search responses. May be null if ticket has no body content.
"Sehr geehrter Kundenservice, könnten Sie bitte den beiliegenden Zählerstand meines Zählers in Ihr System eintragen und mir eine Zwischenrechnung zukommen lassen?"
false
"2022-12-13 22:18:06"
Last change of this ticket
null
Latest date by when this ticket should be responded to, but not necessarily solved
"2022-12-14 22:18:06"
Latest date by when this ticket should be resolved
"2022-12-15 22:18:06"
Date when this ticket was closed/resolved
null
Customer information associated with this ticket.
⚠️ Format varies by endpoint:
Associated primary customer id of that ticket. Null if not detected by AI or not set by user
"123"
Associated primary contract id of that ticket. Null if not detected by AI or not set by user
"746839"
Associated partner id of that ticket. Null if not detected by AI or not set by user
123
Customer legitimation score:
30
Human-readable message explaining the customer legitimation status. Only provided when customerLegitimation is between 10 and 19.
"Customer could not be confirmed"
User ID of agent that authored the latest response to this ticket.
null
Agent ID associated to this ticket (if any).
null
Agent profile associated to this ticket. Null if no agent is assigned.
Array of agent IDs that are assigned to this ticket
Agent ID
Array of agents that are assigned to this ticket
Array of agent IDs that worked on this ticket in last hour
Agent ID
Array of agent IDs that worked on this ticket in last hour
Attachments associated with this ticket (filtered: non-inline attachments or PDFs only).
⚠️ Only included in GET /ticket/{id}, NOT in POST /ticket/search responses.
Client-specific data objects can be included here
null
Generic email template with placeholders like "Hello {{customer.firstname}}, %MESSAGE%, Best regards {{agent.firstName}}".
⚠️ Only included in GET /ticket/{id}, NOT in POST /ticket/search responses. May be null if no template is configured for this subchannel.
"<p>Hallo {{customer.firstname}},</p><p>%MESSAGE%</p><p>Viele Grüße,<br>{{agent.firstName}}</p>"
Tags loaded from intents
List of tag IDs. When updating, replaces all existing tags. Cannot be used together with addTagIds/removeTagIds
[62, 61]If false, the agent doesn't have the skills to handle the ticket
true
AI-detected intents for this ticket.
⚠️ Format varies by endpoint:
Raw source data from the originating system in its proprietary format.
Only included if explicitly requested via includeRawData=true query parameter.
null
Additional metadata for system-generated tickets (channel=system). Used internally for automated processes.
⚠️ Only included in GET /ticket/{id} AND only when channel=system. Returns null for all other tickets.