Users
Get user sessions
Changed onRetrieve the list of active sessions for a specific user.
<div> <code>read:user_sessions</code> </div>get/api/v1/users/{user_id}/sessions
Request
- Base URL: https://your_kinde_subdomain.kinde.com
- URL: https://your_kinde_subdomain.kinde.com/api/v1/users/{user_id}/sessions
- Auth: HTTP bearer
Path parameters
user_idstring required
Example:kp_c3143a4b50ad43c88e541d9077681782
The identifier for the user
Response
Successfully retrieved user sessions.
Example response
{
"code": "OK",
"message": "Success",
"sessions": [
{
"user_id": "kp_5fc30d0547734f30aca617450202169f",
"org_code": "org_1ccfb819462",
"client_id": "3b0b5c6c8fcc464fab397f4969b5f482",
"expires_on": "2025-04-02T13:04:20.315701+11:00",
"session_id": "session_0xc75ec12fe8434ffc9d527794f00692e5",
"started_on": "2025-04-01T13:04:20.315701+11:00",
"updated_on": "2025-04-01T13:04:20+11",
"connection_id": "conn_75ab8ec0faae4f73bae9fc64daf120c9",
"last_ip_address": "192.168.65.1",
"last_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36",
"initial_ip_address": "192.168.65.1",
"initial_user_agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36"
}
]
}Changes
- info
endpoint added
- info