Users
Get user active session
Changed onRetrieve a non-expired session for the user by session ID, including session metadata and interaction details when available.
get/api/users/{userId}/sessions/{sessionId}
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/sessions/{sessionId}
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
userIdstring required
The unique identifier of the user.
sessionIdstring required
The unique identifier of the session.
Response
Return a non-expired session of the user.
Changes
- breaking
added
subschema #2subschema #3subschema #4subschema #5to the//response propertyoneOflist for the response status - info
removed
subschema #2subschema #3subschema #4subschema #5from the//response propertyoneOflist for the response status
- breaking