Look up a session under a given site

This endpoint allows you to access specific session details for a particular site. By providing the unique identifiers for the site and the session, you can retrieve detailed information about that session. This information can include the session's start time, end time, current status, and any associated user data. The exact content of the response will depend on the specific session and site identifiers provided in the request.

SecurityZephrHmacHttp
Request
path Parameters
site
required
string

The unique site identifier within the tenant.

sessionId
required
string

Unique session identifier assigned to each session, enabling precise identification and retrieval of session-related information within the API.

Responses
200

OK. Returns the session details.

401

Unauthorized. No valid authentication was provided.

404

No session found. The site or the session ID is invalid.

get/v4/sessions/{site}/{sessionId}
Response samples
application/json
{
  • "tenantId": "company",
  • "subTenantId": "company|demo",
  • "authenticated": true,
  • "v": 0,
  • "session_variables": { },
  • "user_id": "UU0123456789ABCD",
  • "sessions": [
    ],
  • "access_model": {
    },
  • "last_updated": 1707230240685,
  • "test_groups": {
    },
  • "second_party_data": {
    }
}