Skip to content
Esc
No results found.

Get User Sessions

Retrieve a list of user sessions with optional pagination. If no pagination parameters are provided, all sessions are returned.

Scopes
read:user-session

Query Parameters

limit
number
min-1
max
500

Limit the number of results returned

Examples: 5 

offset
number
min0
max
99999999999999

Page number of records you wish to skip before selecting records. Final skipped records count would be limit * offset.

Path Parameters

user_id
string
Required

User identifier

GET
/users/{user_id}/session
cURL
cURLC#DartGoJavaJavaScriptPHPPythonRubyRustSwift
1
2
3
Loading...
Response
200
200
Loading...

Response Body Schema

One Of:array<object>object
array<object>

List of user sessions

created_at
number
Required

Date time of session creation in UTC milliseconds.

exp
number
Required

Date time of session expiration in UTC milliseconds.

id
string
Required

Session identifier.

last_activity
number
Required

Date time of session's last activity in UTC milliseconds.

location
null | object
Required

Location details associated with the IP address.

ua
string
Required

End-User's User-Agent string.

ip
string

End-User's IP address.