v1

latestOpenAPI 3.1.12026-07-1711423400.3 KB
me

Fetch session details.

This endpoint will retrieve the details of a session.

get/me/sessions/{sessionID}

Path parameters

sessionIDstring required

ID of the session to be retrieved.

Response

Successful GET Sessions JSON response

object required

Example response

{
  "data": {
    "id": 3,
    "type": "sessions",
    "href": "/v1/sessions/3",
    "attributes": {
      "ip": "127.0.0.1",
      "lastValidatedAt": "2020-07-28 02:43:50",
      "platform": {
        "description": "iPhone 11 Pro Max on iOS 13.4",
        "systemName": "iOS",
        "systemVersion": "13.4",
        "deviceVendor": "Apple",
        "deviceModel": "iPhone 11 Pro Max"
      },
      "location": {
        "city": "Amsterdam",
        "region": "Amsterdam",
        "country": "Netherlands",
        "latitude": 52.35997,
        "longitude": 4.86352
      }
    }
  }
}