---
title: "Get all sessions"
method: GET
path: "/v2/sessions"
tags: ["Session"]
---

# Get all sessions

`GET /v2/sessions`

## Request

- Base URL: `https://api.sandbox.eu.bandyer.com`
- URL: `https://api.sandbox.eu.bandyer.com/v2/sessions`
- Auth: API key in header `apikey`

Get a list of sessions.

**Note**: All date’s fields follow the ISO8601 standard.

## Query parameters

- `offset` integer
- `limit` integer
- `from` string, date-time
- `to` string, date-time
- `room_id` string
- `broadcast_id` string
- `user_id` string

## Response `200`

return list of Sessions

- object
  - `offset` integer: The number of items to skiped before starting to collect the result set.
  - `limit` integer: The numbers of items to returned.
  - `has_more` boolean: Indicates is there more values.
  - `count` integer: Total number of values returned.
  - `sessions` object[]: Array of sessions
    - `id` string: Session Id.
    - `creation_date` string, date-time: Creation date of the session.
    - `duration` integer, nullable: Duration of the session.
    - `connected_participants` string[]: List of user ids of connected participants.
    - `room_id` string, nullable: Room Id.
    - `broadcast_id` string, nullable: Broadcast Id.

## Other responses

- `400`: Bad request
- `401`: Unauthorized
- `429`: Too Many request

---

[API](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2.md) - [All operations](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/kaleyra/apis/kaleyra-video-rest-api-v2/revisions/4424fd54ae42?raw)
