Get User Sessions
Endpoint Examples
Get User Sessions
Retrieve user session data with filtering and pagination options.
POST
Get User Sessions
Get User Sessions
Retrieve user session data with filtering and pagination options.Endpoint
Headers
Note: Thepublisher-authentication-keyheader corresponds to your Secret Key. TheauthorizationKeyin the request body corresponds to your Web API Key.
Request Body
Request Body Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
authorizationKey | string | Yes | - | Publisher’s project web API key |
rows | integer | No | 100 | Number of records per page. Min: 1, Max: 500. |
page | integer | No | 1 | The page number for pagination. |
sessionType | integer | No | 0 | 0 = Live, 1 = Test. |
status | string | No | ”all” | Enum: all, completed, overquota, terminated, securityDrop, prescreen. |
startDate | string | No | Last Month | ISO Date format (YYYY-MM-DD). Defaults to 30 days ago. |
endDate | string | No | Today | ISO Date format (YYYY-MM-DD). Defaults to current date. |
Response
Error Response
Authorizations
Send your Secret Key using the publisher-authentication-key header. This header is required for every request.
Body
application/json
Payload for retrieving user sessions. Includes your Web API Key plus optional filtering criteria.
Publisher's project web API key
Example:
"DqcInvhIFAl5WtUNwihFUIgUH77EL2hTNRU"
Number of records per page. Min: 1, Max: 500.
Required range:
1 <= x <= 500Example:
100
The page number for pagination.
Required range:
x >= 1Example:
1
0 = Live, 1 = Test.
Available options:
0, 1 Example:
0
Session status filter
Available options:
all, completed, overquota, terminated, securityDrop, prescreen Example:
"completed"
ISO Date format (YYYY-MM-DD). Defaults to 30 days ago.
Example:
"2025-11-24"
ISO Date format (YYYY-MM-DD). Defaults to current date.
Example:
"2025-12-24"

