Sessions

sessions

Methods

Delete Session ->
delete/sessions/{id}

Delete a session by ID.

Get Session -> { id, authenticated_at, authentication, 8 more... }
get/sessions/{id}

Retrieve session information.

Security

Example: Authorization: Bearer My Bearer Token

Parameters
id: string
Response fields
id: string
Optional

The ID of the session

authenticated_at: string | Record<string, unknown>
Optional

The date and time when the session was last authenticated

authentication: { methods }
Optional

Details about authentication signals obtained during the login flow

clients: Array<{ client_id }>
Optional

List of client details for the session

created_at: string | Record<string, unknown>
Optional

The date and time when the session was created

device: { initial_asn, initial_ip, initial_user_agent, 3 more... }
Optional

Metadata related to the device used in the session

expires_at: string | Record<string, unknown>
Optional

The date and time when the session will expire

idle_expires_at: string | Record<string, unknown>
Optional

The date and time when the session will expire if idle

last_interacted_at: string | Record<string, unknown>
Optional

[Private Early Access] The date and time last successful user interaction with the session

updated_at: string | Record<string, unknown>
Optional

The date and time when the session was last updated

user_id: string
Optional

ID of the user which can be used when interacting with other APIs.

Request example
200Example