ticket
- POSTGet next ticket id to work on
- POSTGet a list of tickets
- POSTCreate a ticket
- PATCHUpdate a few tickets at once
- GETGet a ticket
- PATCHUpdate a ticket
- GETGet ticket variables
- GETGet a tickets history
- POSTForward a ticket
- POSTAuto-execute a ticket
- GETPing a ticket
- GETGet ticket activity
- GETGet ticket stats
- GETGet agent queue status
conversation
customer
intent
aiAgent
- GETList of all available AI agents as an array
- GETList of all available AI agents as an tree based on associated tag
- GETGet list of available enneo default AI Agents
- POSTLoad enneo default AI Agents
- POSTCreate a new aiAgent
- GETGet an AI Agent by id
- DELDelete an existing AI Agent
- PATCHUpdate an existing AI Agent
- GETGet similar tickets for an AI Agent
- POSTPreview an AI Agent
- POSTGet the outcome of an AI Agent
aiQualityCheck
- GETGet all test runs with pagination
- POSTSchedule a new AI quality check
- GETGet a specific test run by ID
- DELDelete a specific test run by ID
- PATCHUpdate the expected result of a test ticket
- PATCHAccept the expected result of a test ticket
- POSTAccept ALL the expected results of for a test run
- GETGet all AI agents for which test runs can be triggereddeprecated
- GETGet all AI agents for which test runs can be triggered
- POSTAdd test cases for an AI agent
- DELDelete a test case by ID
- PATCHUpdate a test case by ID
intentTemplate
profile
team
reminder
settings
- GETGet settings of a client
- POSTUpdate multiple settings at once
- GETGet settings of a client and return the results in a compact form
- GETGet settings of a client in a grouped way for a category
- PUTUpdate setting
- GETSearch settings
- GETGet Subchannels
- POSTAdd a new Subchannel
- DELDelete a Subchannel
- GETGet User Defined Functions
- POSTAdd a new User Defined Function
- DELDelete a User Defined Function
- GETRedirect to Microsoft authorization page
- GETCallback for Microsoft authorization
tag
cron
version
knowledgeSourceStructure
knowledgeSource
export
telephony
cortex
conversation
Get conversations for a ticket
Retrieve all conversations associated with a specific ticket
GET
/
ticket
/
{ticketId}
/
conversation
Copy
Ask AI
curl --request GET \
--url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation
Copy
Ask AI
{
"conversations": [
{
"id": 123,
"ticketId": 123,
"type": "html",
"direction": "out",
"private": false,
"fromEmail": "service@enneo.ai",
"fromEmailName": "Enneo Admin",
"agentId": 1,
"sender": {
"id": 1,
"name": "Enneo Admin",
"email": "example@enneo.ai"
},
"toEmail": [
"to@gmail.com"
],
"ccEmails": [
"cc@gmail.com"
],
"body": "<div>Thank you for your message, we can inform you that...</div>",
"bodyPlain": "Thank you for your message, we can inform you that...",
"bodyClean": "Thank you for your message, we can inform you that...",
"content": {
"message": "Thank you for your message, we can inform you that..."
},
"intentIds": [
"ai_agent_meter_reading"
],
"cortexRequestId": 123,
"attachments": [
{
"id": "103013960646,",
"url": "https://storage.googleapis.com/enneo-attachments-public/a1/103013960646-4b1aa775/IMG_20230301_192712.jpg",
"name": "IMG_20230301_192712.jpg",
"size": 2292952,
"width": 3120,
"height": 4160,
"inline": false,
"fileEnding": "jpg",
"contentType": "image/jpeg",
"originalUrl": "https://s3.eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/103013960646/original/IMG_20230301_192712.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS6FNSMY2XLZULJPI%2F20230315%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20230315T135902Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=863f16c0b29b34cde3331ef76954db3f9605d8187cfd042b11d623ea988b9e0d",
"extractedData": null,
"extractionStatus": "success",
"extractionData": {
"confidence": 0.815,
"meterValue": 87870.5
}
}
],
"crmNotificationId": 123,
"createdAt": 1657056276,
"modifiedAt": 1672756198,
"deletedAt": 1672756198
}
],
"success": true
}
Authorizations
Cookie-based authentication
Path Parameters
The ID of the ticket to get conversations for
Query Parameters
Whether to include raw data in the response
Response
200
application/json
Successful operation
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation
Copy
Ask AI
{
"conversations": [
{
"id": 123,
"ticketId": 123,
"type": "html",
"direction": "out",
"private": false,
"fromEmail": "service@enneo.ai",
"fromEmailName": "Enneo Admin",
"agentId": 1,
"sender": {
"id": 1,
"name": "Enneo Admin",
"email": "example@enneo.ai"
},
"toEmail": [
"to@gmail.com"
],
"ccEmails": [
"cc@gmail.com"
],
"body": "<div>Thank you for your message, we can inform you that...</div>",
"bodyPlain": "Thank you for your message, we can inform you that...",
"bodyClean": "Thank you for your message, we can inform you that...",
"content": {
"message": "Thank you for your message, we can inform you that..."
},
"intentIds": [
"ai_agent_meter_reading"
],
"cortexRequestId": 123,
"attachments": [
{
"id": "103013960646,",
"url": "https://storage.googleapis.com/enneo-attachments-public/a1/103013960646-4b1aa775/IMG_20230301_192712.jpg",
"name": "IMG_20230301_192712.jpg",
"size": 2292952,
"width": 3120,
"height": 4160,
"inline": false,
"fileEnding": "jpg",
"contentType": "image/jpeg",
"originalUrl": "https://s3.eu-central-1.amazonaws.com/euc-cdn.freshdesk.com/data/helpdesk/attachments/production/103013960646/original/IMG_20230301_192712.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAS6FNSMY2XLZULJPI%2F20230315%2Feu-central-1%2Fs3%2Faws4_request&X-Amz-Date=20230315T135902Z&X-Amz-Expires=300&X-Amz-SignedHeaders=host&X-Amz-Signature=863f16c0b29b34cde3331ef76954db3f9605d8187cfd042b11d623ea988b9e0d",
"extractedData": null,
"extractionStatus": "success",
"extractionData": {
"confidence": 0.815,
"meterValue": 87870.5
}
}
],
"crmNotificationId": 123,
"createdAt": 1657056276,
"modifiedAt": 1672756198,
"deletedAt": 1672756198
}
],
"success": true
}
Assistent
Responses are generated using AI and may contain mistakes.