---
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`

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.net/zenoti/apis/zenoti-authentication.md) · [All operations](https://skmtc.net/zenoti/apis/zenoti-authentication/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zenoti/zenoti-authentication/revisions/e628f892391a/schema)
