User

Get Sessions

Get the current user sessions

get/api/users/@me/sessions

Request

  • Base URL: https://nodesty.com
  • URL: https://nodesty.com/api/users/@me/sessions
  • Auth: API key in header Authorization

Response

List of user sessions

idstring

Unique identifier for the session

ipstring

IP address of the session

lastSeeninteger

Timestamp of the last time the session was active

locationstring

Geographical location of the session

os'Desktop' | 'Mobile'

Operating system of the session

platformstring

Platform of the session, such as web browser

Example response

[
  {
    "ip": "192.168.1.1",
    "location": "New York, USA",
    "os": "Desktop",
    "platform": "Chrome"
  }
]

Changes

No recorded changes to this operation across all 3 revisions of this API.