---
title: "List all rooms of a center"
method: GET
path: "/v1/centers/{center_id}/rooms"
---

# List all rooms of a center

`GET /v1/centers/{center_id}/rooms`

## Request

- Base URL: `https://api.zenoti.com`
- URL: `https://api.zenoti.com/v1/centers/{center_id}/rooms`
- Auth: none required
- TypeScript: <https://skmtc.dev/zenoti/apis/zenoti-authentication/docs/v1/centers/:center_id/rooms/get.ts> (a function with typed inputs; its response is checked against the schema)

This API helps you to retrieve all the rooms that are active in the center.

You must specify the unique identifier of the center as `center_id` in the API request.
You can also leverage the pagination feature by passing `page` and `size` query parameters if you have a large number of records to be displayed. By default, `page` is set as 1 and `size` is set as 10. `size` cannot be more than 100: which means that the maximum records per page cannot be more than 100.

## Path parameters

- `center_id` string, required

## Query parameters

- `page` integer
- `size` integer

## Response `200`

200

- object
  - `rooms` object[]
    - `id` string
    - `code` string
    - `name` string
    - `room_category_id` string
    - `description` string
    - `capacity` integer
    - `can_exceed_capacity` boolean
    - `only_one_appointment` boolean

## Other responses

- `400`: 400

---

[API](https://skmtc.dev/zenoti/apis/zenoti-authentication.md) - [All operations](https://skmtc.dev/zenoti/apis/zenoti-authentication/llms.txt) - [OpenAPI document](https://skmtc.dev/zenoti/apis/zenoti-authentication/revisions/e628f892391a?raw)
