Get Active User Sessions
GET /v2/auth/access-token/my
Returns all active sessions and access tokens for the authenticated user. Each session includes identifiers, expiration times, tenant information, and device details like browser, OS, and IP address when available. Useful for security monitoring and identifying active sessions across devices.
Response Example
{
"data": [
{
"details": {
"browser": {
"name": "N/A",
"version": "N/A"
},
"os": {
"name": "N/A",
"version": "N/A"
},
"ua": "",
"ip": "N/A"
},
"id": "token-xxxxxxxx",
"hash": "hash-xxxxxxxx",
"expiration": "2025-09-03T14:17:22.583Z",
"userId": "user-xxxxxxxx",
"tenant": "tenant-xxxxxxxx",
"created": "2025-09-02T14:17:22.843Z",
"updated": "2025-09-02T14:17:35.244Z"
}
],
"meta": {
"total": 1
}
}