---
title: "List rooms"
method: GET
path: "/shop/rooms"
tags: ["Rooms"]
---

# List rooms

`GET /shop/rooms`

Returns a paginated list of `Room`s the caller can see, ordered by
their `order` field then by name. Filter to a single site with
`site_id`; omit it to list every room in every site the caller has
access to.

Requires the `RESERVATIONS_VIEW` permission on the requested site.

## Response `200`

A paginated list of `Room`s.

- object — Single-item envelope mixin. `allOf` this into any show response that wraps its `data` payload in an outer object; the concrete schema (e.g. `ShowUser`) adds its own `data` property with the appropriate `$ref` and keeps its own title so the SDK surface is unchanged.
  - `data` Room[], required — The rooms on this page, ordered by `order` then by name.
    - `id` string, object-id, required — Unique identifier of the room.
    - `organisation_id` string, uuid, required — ID of the organisation the room belongs to.
    - `site_id` string, uuid, required — ID of the site the room belongs to. A room is scoped to exactly one site.
    - `name` string, required — Display name for the room. Visible to staff in the calendar and admin UI; not shown to customers.
    - `capacity` integer, required — How many concurrent bookings the room can host. `1` means single-occupancy (appointments exclusively block the room); values > 1 enable multi-guest sharing when the appointment type opts in via `allocate_multi_capacity_rooms`.
    - `availability_rules` AvailabilityRule[], required — Per-day availability windows that override the site's opening hours for this room. Empty array means the room follows site opening hours.
      - `id` string, object-id, required — The ID of the availability rule.
      - `date_from` string, date, required — The start of the rule period.
      - `date_to` string, date, required — The end of the rule period.
      - `is_available` boolean, required — Whether the resource is available during this period. Any `false` rules will override `true` rules.
      - `max_duration` integer — Maximum number of minutes.
      - `min_duration` integer — Minimum number of minutes.
      - `time_from` string, required — The daily start time of the time period, in 24 hour format.
      - `time_to` string, required — The daily end time of the time period, in 24 hour format.
      - `weekdays` string[] — The weekdays this rule applies to.
    - `suitable_for_tags` string[], required — Tag IDs that this room is suitable for. The availability engine matches these against the booking's required tags to decide if the room can host the appointment (e.g. a "wet room" tag for hydrotherapy treatments).
    - `tag_ids` string[], required — Free-form tag IDs attached to the room for reporting and filtering. Distinct from `suitable_for_tags` — these don't affect allocation logic.
    - `tags` Tag[] — Hydrated `Tag` records for the room's `tag_ids`.
      - `id` string, required
      - `name` string, required
      - `organisation_id` string, required
    - `zones` Zone[] — Hydrated `Zone` records this room belongs to. Zones group rooms in the floor plan and are used for spatial constraints in availability.
      - `id` string, object-id, required — Unique identifier for the zone.
      - `name` string, required — Display name for the zone, shown wherever zones are listed or filtered. Plain text only.
      - `organisation_id` string, uuid, required — ID of the organisation that owns this zone. Inherited from the site on create.
      - `site_id` string, uuid, required — ID of the site this zone belongs to.

## Other responses

- `401` — The user is unauthenticated
- `403` — The authenticated user does not have permission.

---

[API](https://skmtc.dev/try/apis/trybe-api.md) · [All operations](https://skmtc.dev/try/apis/trybe-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/try/trybe-api/revisions/f37f92702da5/schema)
