List agent sessions
Your OWN agent conversations, not the organization's. A service account has none and receives an empty list.
Authorization
bearerAuth AuthorizationBearer <token>
An API key from Settings > API access, sent as Authorization: Bearer sp_live_.... Send exactly one credential per request; a request carrying both a bearer token and a session cookie is rejected rather than resolved by precedence.
In: header
Query Parameters
pageNumber?integer
1-based page number.
Range
1 <= valueDefault
1pageSize?integer
Page size. Clamped server-side, so a very large value returns the maximum.
Range
1 <= valueDefault
20Response Body
application/json
application/json
application/json
curl -X GET "https://example.com/agent/sessions"{ "currentPage": 0, "pageSize": 0, "totalCount": 0, "data": [ { "id": "string", "title": "string", "channelType": "string", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Last updated on