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​
- 200
- 403
- 404
- default
OK
Returned when the user does not have permission to access the resource.
Returned when the resource does not exist.
An unexpected error response.