Manage active sessions for the authenticated user. Each login creates a new session. Sessions track the user agent and IP address for security visibility.
List Sessions
Requires a valid Bearer token.
Returns all active (non-expired) sessions for the authenticated user, sorted by most recently used.
Response
Array of session objects. Browser or client user agent string.
IP address that created the session.
ISO 8601 timestamp of last activity.
ISO 8601 session expiration timestamp.
ISO 8601 session creation timestamp.
true if this is the session making the request.
Total number of active sessions.
Example
Revoke Session
Requires a valid Bearer token.
Revokes a specific session, logging out that device. You cannot revoke the current session — use the logout endpoint instead.
Path Parameters
The ID of the session to revoke.
Response
Errors
Example