Skip to main content

Get Session

GET 

/v2/sessions/:sessionId

Retrieve a session by its ID. Returns all information about the session, including the factors that were verified, the metadata, user agent information and possible expiration date. The session token is required unless either of the following conditions is met:

  • the caller created the session
  • the authenticated user requests their own session (checked user)
  • the security token provided in the authorization header has the same user agent as the session
  • the caller is granted the permission session.read permission on either the instance or on the checked user's organization

Required permissions:

  • session.read
  • no permission required to get own sessions (see above) or when providing the current session token

Request​

Responses​

OK

Was this page useful?