Returns a list of sessions.
The list can be sorted and filtered:
sort
parameter supports the following fields: ID
, userID
, expires
, lastAction
, created
, updated
, and status
.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.
Basic authentication is used to authenticate requests to the Backend API. The username is the project ID and the password is the API secret.
The project ID and API secret can be found in the Developer Panel.
Field and direction to sort results. Use the format fieldName:asc
or fieldName:desc
.
"createdAt:desc"
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)The page number to retrieve for paginated results.
1
The number of items to return per page. Useful for pagination.
20
List of all matching sessions.
The response is of type object
.