GET
/
v2
/
session
/
apps
/
{appID}
/
users
/
{userID}
/
sessions
curl --request GET \
  --url https://api.prelude.dev/v2/session/apps/{appID}/users/{userID}/sessions \
  --header 'Authorization: Bearer <token>'
{
  "sessions": [
    {
      "id": "ses_01jr0z5w2seq998trz7ftbb9rj",
      "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.

Example:

"54e9ujn"

userID
string
required

The id of the user the request refers to.

Example:

"usr_01jqebhswje1ka1z7ahr9rfsgt"

Response

200
application/json
OK
sessions
object[]
required