Easy Labs
ReferenceAPI ReferenceAccount & operationsLogin sessions

List active login sessions

Returns all active login sessions for the authenticated user. Automatically registers the current session with device/IP metadata. The current session is flagged with is_current: true.

GET
/v1/auth/login-sessions/

Authorization

bearerAuth
AuthorizationBearer <token>

Supabase JWT bearer token for dashboard / user-scoped endpoints. Role-derived scopes: ROOT/ADMIN → full admin; USER → read-only treasury.

In: header

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/v1/auth/login-sessions/"
{
  "success": true,
  "timestamp": "2019-08-24T14:15:22Z",
  "data": null,
  "message": "string"
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}
{
  "success": false,
  "timestamp": "2019-08-24T14:15:22Z",
  "error": {
    "code": "string",
    "message": "string",
    "details": null
  }
}