List Sessions
Changed onIf authenticated as an admin, returns all the account's sessions. If authenticated as an agent or end user, returns only the sessions of the user making the request.
Pagination
- Cursor pagination (recommended)
- Offset pagination
See Pagination.
Allowed For
- Admins, Agents, End users
Request
- Base URLhttps://example.zendesk.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
A pagination cursor that tells the endpoint which page to start on. It should be a meta.before_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.
A pagination cursor that tells the endpoint which page to start on. It should be a meta.after_cursor value from a previous request. Note: page[before] and page[after] can't be used together in the same request.
Specifies how many records should be returned in the response. You can specify up to 100 records per page.
Response
Success response
Changes
- info
added the new optional
queryrequest parameterpage[after] - info
added the new optional
queryrequest parameterpage[before] - info
added the new optional
queryrequest parameterpage[size]
- info