Returns all sessions in a specified order

GET
Get all sessions with optional page number, page size, order by field and order direction for pagination.

Query parameters

page_numberintegerOptional
Page number for pagination, starting from 1
page_sizeintegerOptional
Number of sessions to retrieve per page
order_bystringOptional

Field to order the results by: created_at, updated_at, user_id, session_id

ascbooleanOptional
Order direction: true for ascending, false for descending

Response

This endpoint returns an object.
response_countintegerOptional
sessionslist of objectsOptional
total_countintegerOptional

Errors