v1

latestOpenAPI 3.0.02026-08-06165119238.1 KB
Session

Retrieve a session

Looks up a session.

get/v3/sessions/{id}

Path parameters

idstring required

Unique Session identifier

Response

OK

tenantIdstring
subTenantIdstring
authenticatedboolean
vinteger

version

session_variablesSessionVariables
user_idstring
last_updatedinteger

A timestamp indicating the last update of the session, measured in milliseconds since the epoch.

test_groupsobject
second_party_dataobject

Example response

{
  "tenantId": "company",
  "subTenantId": "company|demo",
  "authenticated": true,
  "user_id": "UU0123456789ABCD",
  "sessions": [
    {
      "tenantId": "company",
      "subTenantId": "company|demo",
      "expiryDate": "2025-02-08 14:29 PM UTC",
      "startDate": "2024-02-08 14:29 PM UTC",
      "authenticated": true,
      "state": "authenticated",
      "device": "pc",
      "browser": "Chrome",
      "os": "Mac OSX",
      "city": "London",
      "geoState": "London",
      "deviceName": "Apple Macintosh",
      "country": "GB",
      "session_id": "26a73b7a-f7d0-48d8-85dd-a04b07313895",
      "user_id": "UU0123456789ABCD"
    }
  ],
  "access_model": {
    "delivered_entitlements": [
      {
        "id": "0123456789ABCD",
        "direct": true,
        "meteredBy": [],
        "creditedBy": []
      }
    ],
    "granted_bundles": [
      "e10a5ff3-fc63-47fb-af04-75c2ec3fdf1c"
    ],
    "jwt_bundles": [],
    "user_state": "registered"
  },
  "last_updated": 1707230240685
}