GET
/
sessions
curl --request GET \
  --url https://backendapi.corbado.io/v2/sessions \
  --header 'Authorization: Basic <encoded-value>'
{
  "sessions": [
    {
      "sessionID": "<string>",
      "userID": "<string>",
      "identifierValue": "<string>",
      "createdMs": 123,
      "lastActionMs": 123,
      "expiresMs": 123,
      "status": "active"
    }
  ],
  "paging": {
    "page": 1,
    "totalPages": 123,
    "totalItems": 123
  }
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

sort
string

Field sorting

filter[]
string[]

Field filtering

page
integer
default:1

Page number

pageSize
integer
default:10

Number of items per page

Response

200
application/json

List of all matching sessions

The response is of type object.