Lists your active sessions, the most recently used first.
HTTP
GET /account/sessionsAccess: Session token only. API keys get 403 with insufficient_scope.
Response 200 #
A list of sessions.
JSON
[
{
"id": "0197a3c2-9a44-7b10-b6e2-0d7c1f5a3e90",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) Firefox/131.0",
"ageMinutes": 4,
"current": true
}
]Response fields #
| Field | Type | Description |
|---|---|---|
id | string | The id of the session. |
userAgent | string | The User-Agent the session was started with. |
ageMinutes | integer or null | Minutes since the session was last used. |
current | boolean | Whether this is the session of the token you used. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.