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

# GET /rooms

`GET /rooms`

## Query parameters

- `name` string
- `active` boolean
- `type` string
- `origin` string
- `createdAt` string
- `updatedAt` string
- `sort` string
- `limit` integer
- `offset` integer

## Response `200`

Success, returns all rooms

- RoomResponse[]
  - `id` integer — The room number of the specified room
  - `name` string — The unique readable name for the room
  - `active` boolean — Flag for whether the room is still active or closed
  - `type` string — The roomType being used in the specified room
  - `createdBy` string — Id of the User who created this room.
  - `origin` string — Tracks where refocus room was created from

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `404` — Resource Not Found
- `default` — Error

## Changes

- **2019-04-16** (v1) `bdee7a1c8948` — 1 info
  - added the new optional `query` request parameter `origin`
- **2019-03-14** (v1) `61c43b67559b` — 2 info
  - added the new optional `query` request parameter `createdAt`
  - added the new optional `query` request parameter `updatedAt`
- **2018-04-26** (v1) `6888b8004867` — 1 info
  - added the new optional `query` request parameter `sort`
- **2018-03-30** (v1) `4ca6b20ef8df` — 4 warning
  - deleted the `query` request parameter `createdAt`
  - deleted the `query` request parameter `origin`
  - deleted the `query` request parameter `sort`
  - deleted the `query` request parameter `updatedAt`

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/rooms/get.md)

---

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