GET
/
ticket
/
{ticketId}
/
conversation
curl --request GET \
  --url https://demo.enneo.ai/api/mind/ticket/{ticketId}/conversation
{
  "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

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

ticketId
integer
required

The ID of the ticket to get conversations for

Query Parameters

includeRawData
boolean
default:false

Whether to include raw data in the response

Response

200
application/json

Successful operation

The response is of type object.