curl --request GET \
--url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation \
--header 'Authorization: Bearer <token>'{
"conversations": [
{
"id": 123,
"ticketId": 123,
"type": "html",
"direction": "out",
"private": false,
"isDraft": false,
"fromEmail": "[email protected]",
"fromEmailName": "Enneo Admin",
"agentId": 1,
"sender": {
"id": 1,
"name": "Enneo Admin",
"email": "[email protected]"
},
"toEmail": [
"[email protected]"
],
"ccEmails": [
"[email protected]"
],
"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://storage.example.com/attachments/IMG_20230301_192712.jpg",
"extractedData": null,
"extractionStatus": "success",
"extractionData": {
"confidence": 0.815,
"meterValue": 87870.5
}
}
],
"crmNotificationId": 123,
"createdAt": 1657056276,
"modifiedAt": 1672756198,
"deletedAt": 1672756198
}
],
"success": true
}Retrieve all conversations associated with a specific ticket
curl --request GET \
--url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation \
--header 'Authorization: Bearer <token>'{
"conversations": [
{
"id": 123,
"ticketId": 123,
"type": "html",
"direction": "out",
"private": false,
"isDraft": false,
"fromEmail": "[email protected]",
"fromEmailName": "Enneo Admin",
"agentId": 1,
"sender": {
"id": 1,
"name": "Enneo Admin",
"email": "[email protected]"
},
"toEmail": [
"[email protected]"
],
"ccEmails": [
"[email protected]"
],
"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://storage.example.com/attachments/IMG_20230301_192712.jpg",
"extractedData": null,
"extractionStatus": "success",
"extractionData": {
"confidence": 0.815,
"meterValue": 87870.5
}
}
],
"crmNotificationId": 123,
"createdAt": 1657056276,
"modifiedAt": 1672756198,
"deletedAt": 1672756198
}
],
"success": true
}JWT-based authentication
The ID of the ticket to get conversations for
Whether to include raw data in the response