Skip to content

List My Sessions

GET
/api/api/me/sessions
curl --request GET \
--url https://example.com/api/api/me/sessions \
--header 'Authorization: Bearer <token>'

List active sessions for the current user.

Each session corresponds to a refresh token (one per device/browser). client_ip_hash is not exposed.

Successful Response

Media type application/json
SessionListResponse
object
sessions
required
Sessions
Array<object>
SessionResponse
object
id
required
Id
string
family_id
required
Family Id
string
device_hint
Any of:
string
user_agent_hint
Any of:
string
created_at
Any of:
string
last_activity_at
Any of:
string
expires_at
Any of:
string
Example generated
{
"sessions": [
{
"id": "example",
"family_id": "example",
"device_hint": "example",
"user_agent_hint": "example",
"created_at": "example",
"last_activity_at": "example",
"expires_at": "example"
}
]
}