# Get user active sessions **GET /api/users/{userId}/sessions** Retrieve all non-expired sessions for the user, including session metadata and interaction details when available. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **userId** (string) The unique identifier of the user. ## Responses ### 200 Return a list of non-expired sessions of the user. #### Body: application/json (object) - **sessions** (array[object]) ### 400 Bad Request ### 401 Unauthorized ### 403 Forbidden ### 500 Internal Server Error [Powered by Bump.sh](https://bump.sh)