Skip to main content
GET
/
v2
/
session
/
apps
/
{appID}
/
users
/
{userID}
/
sessions
List user sessions
curl --request GET \
  --url https://api.prelude.dev/v2/session/apps/{appID}/users/{userID}/sessions \
  --header 'Authorization: Bearer <token>'
{
  "sessions": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "last_seen_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appID
string
required

The id of the app the request refers to. An application's unique identifier.

Examples:

"54e9ujn"

"fvua38g"

userID
string
required

The id of the user the request refers to. An app's user's unique identifier. It is prefixed with 'usr_'

Examples:

"usr_01jqebhswje1ka1z7ahr9rfsgt"

"usr_01jqy7455pf8p9bap5qke912g1"

Response

OK

sessions
object[]
required