List user sessions
List one user's sessions (newest first), cursor-paginated. Organization-wide; requires owner/admin. Identify by email OR user_id (exactly one). Returns identity_id, sessions, and cursor; pass cursor back to fetch the next page (null when no more).
Organization API Token (prefixed sk_) sent as Authorization: Bearer sk_.... Create one in Settings and grant it scopes. Server-side only.
In: header
Query Parameters
The user's email address. Provide exactly one of email or user_id.
1 <= lengthThe user_id as sent to Logspot via identify/track. Provide exactly one of email or user_id.
1 <= lengthInclusive start of the window (ISO-8601). Defaults to 30 days ago.
Inclusive end of the window (ISO-8601). Defaults to now.
Maximum sessions per page (1-100). Defaults to 50.
1 <= value <= 100Opaque pagination cursor from a previous response.
1 <= lengthResponse Body
curl -X GET "https://api.logspot.io/v1/identities/sessions"