v1
latestOpenAPI 3.0.32026-08-064799140.5 KBSessions
List all sessions
Returns a list of sessions.
The list can be sorted and filtered:
- The sort parameter supports the following fields: ID, userID, expires, lastAction, created, updated, and status.
- The filter parameter supports the following fields: ID, userID, expires, lastAction, created, updated, and status.
Refer to the parameter description for more details on sorting in different directions and using the filter with different operators.
You can view and manage sessions in the Developer Panel or consult the Documentation for more details.
get/sessions
Query parameters
sortstring
Example:createdAt:desc
Field and direction to sort results. Use the format fieldName:asc or fieldName:desc.
filter[]string[]
Filter results by specific fields and conditions. Format: <field>:<operator>:<value>. Supported operators include:
- eq: equals (e.g. email:eq:mail@example\.com matches items where email equals mail@example.com)
- gt: greater than (e.g. created:gt:2021-01-01T00:00:00 matches items created after Jan 1, 2021)
- lt: less than (e.g. created:lt:2021-01-01T00:00:00 matches items created before Jan 1, 2021)
pageinteger
Example:1
The page number to retrieve for paginated results.
pageSizeinteger
Example:20
The number of items to return per page. Useful for pagination.
Response
List of all matching sessions.
Example response
{
"sessions": [
{
"sessionID": "V4Gy2mCXekKuvKwbG81ysvegY9dB01",
"userID": "usr-4693224802260150919",
"identifierValue": "jane@doe.com",
"createdMs": 1752738240000,
"lastActionMs": 1752738240000,
"expiresMs": 1755330240000
}
]
}