---
title: "Get WebRTC user activity"
method: GET
path: "/webrtc/1/user-activity"
tags: ["channels", "webrtc-calls", "webrtc", "webrtc-user-activity"]
---

# Get WebRTC user activity

`GET /webrtc/1/user-activity`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/webrtc/1/user-activity`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Get a page of a WebRTC user activity matching query criteria.

## Query parameters

- `identity` string, required
- `startTime` string, date-time
- `endTime` string, date-time
- `sessionId` string
- `page` integer
- `size` integer

## Response `200`

Success

- Dc38425c131b95e4c45181495294ce145519edf2a5db70e09ac8bc816d8bcebaUserActivityPageResponse
  - `identity` string: Identity associated with the requested activities.
  - `results` Dc38425c131b95e4c45181495294ce145519edf2a5db70e09ac8bc816d8bcebaUserActivityResponse[]: List of results for the requested page.
    - `sessionId` string: An identifier that links different occurrences of `activityType` within the same activity session for a user identity on the Infobip WebRTC platform. When two activity events, distinguished by their `activityType`, happen during the same user activity session, they will share the same `sessionId`.
    - `activityType` 'CONNECTED' | 'DISCONNECTED': Type of activity that occurred.
    - `timestamp` string, date-time: Timestamp of the activity. Has the following format: `yyyy-MM-dd'T'HH:mm:ss.SSS+ZZZZ`.
  - `pageInfo` 7916e19109f991cfe966f390ef0d36117967291fa90eff57d8c8cb768f38352ePageInfo: Information about the page.
    - `page` integer, required: Requested page number.
    - `size` integer, required: Requested page size.
    - `totalPages` integer, required: The total number of pages of the results matching the requested parameters.
    - `totalResults` integer, required: The total number of the results matching the requested parameters.

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
