GET
/
ticket
/
{ticketId}
/
history
curl --request GET \
  --url https://demo.enneo.ai/api/mind/ticket/{ticketId}/history
{
  "success": true,
  "total": 11,
  "totalOpenedTickets": 2,
  "history": [
    {
      "id": 1022,
      "type": "ticket",
      "channel": "email",
      "subChannel": null,
      "status": "active",
      "subject": "Tom Mustermann",
      "url": null,
      "createdAt": 1673039966
    },
    {
      "id": 222,
      "type": "ticket",
      "channel": "phone",
      "subChannel": null,
      "status": "pending",
      "subject": "missedCall",
      "url": null,
      "createdAt": 1672953566
    },
    {
      "id": 135,
      "type": "ticket",
      "channel": "chat",
      "subChannel": "facebook",
      "status": "open",
      "subject": null,
      "url": "https://facebook.com/message/289291",
      "createdAt": 1662153566
    },
    {
      "id": null,
      "type": "delivery",
      "channel": null,
      "subChannel": null,
      "status": null,
      "subject": "deliveryStart",
      "url": "https://powercloud.de/gridMessages/41425548",
      "createdAt": 1660953600
    },
    {
      "id": null,
      "type": "gridMessage",
      "channel": null,
      "subChannel": "gridOperator",
      "status": null,
      "subject": "deliveryStartConfirmed",
      "url": "https://powercloud.de/gridMessages/41425548",
      "createdAt": 1660345921
    },
    {
      "id": null,
      "type": "gridMessage",
      "channel": null,
      "subChannel": "previousSupplier",
      "status": null,
      "subject": "handoverDateConfirmed",
      "url": "https://powercloud.de/gridMessages/41425548",
      "createdAt": 1657667521
    }
  ]
}

Authorizations

connect.sid
string
cookie
required

Cookie-based authentication

Path Parameters

ticketId
integer
required

The id of the ticket

Query Parameters

limit
integer
default:100

The number of items to return

Required range: 1 <= x <= 1000
offset
integer
default:0

The number of items to skip

Required range: x >= 0

Response

200
application/json
Successful operation
success
boolean
Example:

true

total
number
Example:

11

totalOpenedTickets
number
Example:

2

history
object[]
Example:
[
  {
    "id": 1022,
    "type": "ticket",
    "channel": "email",
    "subChannel": null,
    "status": "active",
    "subject": "Tom Mustermann",
    "url": null,
    "createdAt": 1673039966
  },
  {
    "id": 222,
    "type": "ticket",
    "channel": "phone",
    "subChannel": null,
    "status": "pending",
    "subject": "missedCall",
    "url": null,
    "createdAt": 1672953566
  },
  {
    "id": 135,
    "type": "ticket",
    "channel": "chat",
    "subChannel": "facebook",
    "status": "open",
    "subject": null,
    "url": "https://facebook.com/message/289291",
    "createdAt": 1662153566
  },
  {
    "id": null,
    "type": "delivery",
    "channel": null,
    "subChannel": null,
    "status": null,
    "subject": "deliveryStart",
    "url": "https://powercloud.de/gridMessages/41425548",
    "createdAt": 1660953600
  },
  {
    "id": null,
    "type": "gridMessage",
    "channel": null,
    "subChannel": "gridOperator",
    "status": null,
    "subject": "deliveryStartConfirmed",
    "url": "https://powercloud.de/gridMessages/41425548",
    "createdAt": 1660345921
  },
  {
    "id": null,
    "type": "gridMessage",
    "channel": null,
    "subChannel": "previousSupplier",
    "status": null,
    "subject": "handoverDateConfirmed",
    "url": "https://powercloud.de/gridMessages/41425548",
    "createdAt": 1657667521
  }
]