---
title: "Retrieves all created rooms."
method: GET
path: "/rooms"
tags: ["Rooms"]
---

# Retrieves all created rooms.

`GET /rooms`

## Query parameters

- `api-version` string, required

## Response `200`

Request successful. The action returns a collection of rooms.

- RoomsCollection — A collection of rooms.
  - `value` RoomModel[], required — A collection of rooms.
    - `id` string, required — Unique identifier of a room. This id is server generated.
    - `createdAt` string, date-time, required — The timestamp when the room was created at the server. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
    - `validFrom` string, date-time, required — The timestamp from when the room is open for joining. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
    - `validUntil` string, date-time, required — The timestamp from when the room can no longer be joined. The timestamp is in RFC3339 format: `yyyy-MM-ddTHH:mm:ssZ`.
    - `pstnDialOutEnabled` boolean, required — Set this flag to true if, at the time of the call, dial out to a PSTN number is enabled in a particular room. By default, this flag is set to false.
  - `nextLink` string — If there are more rooms that can be retrieved, the next link will be populated.

## Other responses

- `default` — Error response

## Changes

- **2026-07-13** (2022-02-01-preview) `6a1caa3099fb` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/communication-rooms/changes/rooms/get.md)

---

[API](https://skmtc.dev/azure/apis/communication-rooms.md) · [All operations](https://skmtc.dev/azure/apis/communication-rooms/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/communication-rooms/revisions/a04e78631a73/schema)
