Skip to main content
GET
/
api
/
v1
/
chat
/
sessions
{
  "data": [
    {
      "id": "<string>",
      "agentId": "<string>",
      "agentName": "<string>",
      "state": "IDLE",
      "createdAt": "2023-11-07T05:31:56Z",
      "messageCount": 123
    }
  ],
  "meta": {
    "currentPage": 123,
    "pageSize": 123,
    "totalPages": 123,
    "totalCount": 123
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
number
pageSize
number
agentId
string
state
enum<string>
Available options:
IDLE,
ACTIVE,
CLOSED

Response

The chat sessions have been retrieved successfully.

data
object[]
required
meta
object
required