Skip to content

List active sessions

GET
/api/auth/sessions
curl --request GET \
--url http://localhost:3001/api/auth/sessions \
--header 'Authorization: <Authorization>'

List all active sessions for the authenticated user.

OK

Media typeapplication/json
object
key
additional properties
any
Examplegenerated
{}

Unauthorized

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}

Internal Server Error

Media typeapplication/json
object
error
string
success
boolean
Examplegenerated
{
"error": "example",
"success": true
}