> For the complete documentation index, see [llms.txt](https://docs.snapfix.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room.md).

# Room

{% hint style="info" %}
Draft, written by an agent and not yet checked by a person ([how to read these docs](https://docs.snapfix.com/how-to-read.md)). Platforms: web, iOS and Android. [Source on GitHub](https://github.com/snapfix/docs/blob/main/spec/screens/rooms/room.md).
{% endhint %}

The tasks of one room, on the same task list screen that groups use.

![Room](https://3653879137-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsVVGa79QbcEkJ7n8srxe%2Fuploads%2Fgit-blob-330a2dc28b797dd436ba010db2b1db00560d95a3%2Froom.png?alt=media)

* **Where:** web `/room/:id/tasks`, from a card on [Room tasks](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-tasks.md) or the "Room tasks" card of the room status dialog ([Room status](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-status.md#dialogs-and-sheets)); iOS and Android: "Room Tasks" > a room, or the room card of the room status sheet
* **Who:** any signed-in member of the selected site. The list holds the room's tasks that the user may see, as on the group task list. On the web with a multi-site selected, only the site's "Admin" role gets the create button and the "⋯" menu.
* **Feature:** [Rooms and areas](https://docs.snapfix.com/product/features/rooms/rooms-and-areas.md)

The page is the group task list ([Group tasks](https://docs.snapfix.com/how-the-apps-work/screens/tasks/group-tasks.md)) with its [changes for rooms and areas](https://docs.snapfix.com/how-the-apps-work/screens/tasks/group-tasks.md#rooms-and-areas): no tabs, no multi-select, and no filter button on the web. This page says only what is specific to a room.

## Layout

**Web:** the header has a back button, a room icon and the room's name, and, with a multi-site selected, the site's name under it. The controls row has the "Search" field, the "+" button (titled "Create") and the "⋯" menu, which holds only "Mark All as Read". Below: sort, "Display Tasks", "Assigned to me" and "Priority", the view switch (grid, list, workflow), the red, amber and green counts and the task cards. The page has no chat button.

**iOS:** the room's name in a circle, with its description under it. Tapping the header (the icon, the name or the description line) opens [Room info](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-info.md); the header's icon shows the settings look for site admins. The filter button is hidden. The "+" button opens a menu with "Create a new task", "Create a new Voice Task", "Share Multi Task Report (PDF)" and "Mark all as read".

**Android:** the task listing with the room's name in the header. Tapping the header, or the info icon, opens [Room info](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-info.md).

## Inputs

None of its own. Search, sort, "Display Tasks", "Assigned to me" and "Priority" work as on [Group tasks](https://docs.snapfix.com/how-the-apps-work/screens/tasks/group-tasks.md#inputs). Without the web filter button, the "Unread" filter is not offered, so its failing request for rooms is not sent from the web.

## Actions

| Action               | Who                                      | What happens                                                                                                                                                                                                                                                       | API                                                                                                                                                                                                                                        |
| -------------------- | ---------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Open the page (web)  | Anyone                                   | Loads the room for the header; the task list request starts at the same time, not after it. If the room can't be loaded, the page goes to `/fix`.                                                                                                                  | [`GET /v1/app/rooms/{uuid}`](https://docs.snapfix.com/engineering-reference/api/rooms.md#get-v1approomsuuid); [`POST /v1/app/tasks/list`](https://docs.snapfix.com/engineering-reference/api/tasks.md#post-v1apptaskslist) with `roomUuid` |
| Page loaded (web)    | Anyone                                   | Reads the update flags of the listed tasks.                                                                                                                                                                                                                        | [`POST /v1/app/tasks/get-updates`](https://docs.snapfix.com/engineering-reference/api/tasks.md#post-v1apptasksget-updates)                                                                                                                 |
| Create a task        | Anyone; web multi-site: site admins only | Starts a new task with the room set. No group permission is needed here, unlike on a group list. On the web, "+" opens [Add a Task](https://docs.snapfix.com/how-the-apps-work/screens/tasks/add-task.md).                                                         | See [Add a Task](https://docs.snapfix.com/how-the-apps-work/screens/tasks/add-task.md)                                                                                                                                                     |
| "Mark All as Read"   | Anyone; web multi-site: site admins only | Marks the room's tasks as read.                                                                                                                                                                                                                                    | [`GET /v1/app/tasks/mark-as-read/{type}/{itemUuid}`](https://docs.snapfix.com/engineering-reference/api/tasks.md#get-v1apptasksmark-as-readtypeitemuuid) with type `room`                                                                  |
| Open a task          | Anyone                                   | Opens the task in the room's context: web `/room/:id/task/:taskId` ([Task detail](https://docs.snapfix.com/how-the-apps-work/screens/tasks/task-detail.md)).                                                                                                       | See [Task detail](https://docs.snapfix.com/how-the-apps-work/screens/tasks/task-detail.md)                                                                                                                                                 |
| Open room info       | Anyone (site admins can edit)            | iOS and Android only: opens [Room info](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-info.md). The web has no room info screen; rooms are edited in [Areas & rooms](https://docs.snapfix.com/how-the-apps-work/screens/rooms/areas-and-rooms.md). | None                                                                                                                                                                                                                                       |
| Back                 | Anyone                                   | Web: goes to `/fix`, not to the previous page. iOS and Android: back to the previous screen.                                                                                                                                                                       | None                                                                                                                                                                                                                                       |
| Leave the page (web) | Anyone                                   | When the list showed new tasks, records that the room was visited, which clears its mark on [Room tasks](https://docs.snapfix.com/how-the-apps-work/screens/rooms/room-tasks.md).                                                                                  | [`GET /v1/app/rooms/mark-as-visited/{roomUuid}`](https://docs.snapfix.com/engineering-reference/api/rooms.md#get-v1approomsmark-as-visitedroomuuid)                                                                                        |

## States

* **Loading, empty and error:** as on the group task list ([Group tasks](https://docs.snapfix.com/how-the-apps-work/screens/tasks/group-tasks.md#states)); the header shows a spinner until the room arrives. A room that can't be loaded, or an unknown room ID, sends the web to `/fix`.
* **No permission:** none on the list. On a web multi-site, users without the site "Admin" role get no create button and no "⋯" menu.
* **Offline (mobile):** the device copy of the room's tasks.

## Platform differences

| Topic                  | Web                                                 | iOS                  | Android                         |
| ---------------------- | --------------------------------------------------- | -------------------- | ------------------------------- |
| Header                 | Room icon and name; the site's name on a multi-site | Name and description | Name                            |
| Room info              | None                                                | Tap the header       | Tap the header or the info icon |
| Back                   | `/fix`                                              | Previous screen      | Previous screen                 |
| Create on a multi-site | Site admins only                                    | Not checked          | Not checked                     |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.snapfix.com/how-the-apps-work/screens/rooms/room.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
