> For the complete documentation index, see [llms.txt](https://talque.gitbook.io/public/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://talque.gitbook.io/public/json-api/room/list.md).

# List

## List rooms

<mark style="color:green;">`POST`</mark> `https://event.talque.com/api/v1/room/list`

This endpoint allows you to list all rooms in a single request.

#### Request Body

| Name                                    | Type   | Description                           |
| --------------------------------------- | ------ | ------------------------------------- |
| orgId<mark style="color:red;">\*</mark> | string | Unique identifier of the organization |

{% tabs %}
{% tab title="200 List of rooms successfully retrieved." %}

```javascript
{
    "orgId":"RVZA0drygVK5NbrZuQnB",
    "reason":"SUCCESS",
    "reasonEnum":"RoomListReason",
    "rooms":[
        {
            "capacity":42,
            "color":"#00ff00",
            "mtime":1500119100000,
            "name":{
                "EN_US":"The green room"
            },
            "order":3,
            "roomId":"EKQTy8yl2an32hMTYdB"
        },
        {
            "capacity":99,
            "color":"#123abc",
            "mtime":1502884800000,
            "name":{
                "DE_DE":"Hilbertraum \u00e4\u00f6\u00fc\u00df",
                "EN_US":"Hilbertspace \u00e4\u00f6\u00fc\u00df"
            },
            "order":2,
            "roomId":"LwigI249nA0THrXyFX7I"
        }
    ],
    "success":true
}
```

{% endtab %}

{% tab title="404 Could not find an organziation matching this query." %}

```javascript
{
    "message":"orgId does not exist",
    "reason":"NOT_FOUND",
    "reasonEnum":"RoomListReason",
    "success":false
}
```

{% endtab %}
{% endtabs %}

### Example Request

```javascript
{
    "orgId": "qRY08MFxsIo97DecfEPk"
}
```

### Example Response

```json
{
  "reasonEnum": "RoomListReason",
  "reason": "SUCCESS",
  "orgId": "qRY08MFxsIo97DecfEPk",
  "rooms": [
    {
      "capacity": 35,
      "name": {
        "DE_DE": "Workshop Studio - Berlin",
        "EN_US": "Workshop Studio - Berlin"
      },
      "mtime": 1675864611589,
      "color": "#ced2d3",
      "roomId": "DTa0z30HX5SKmdQDVZpy",
      "order": 4,
      "extId": null
    },
    {
      "capacity": null,
      "name": {
        "DE_DE": "Lobby",
        "EN_US": "Lobby"
      },
      "mtime": 1651048301985,
      "color": "#000000",
      "roomId": "FypxgBVIprhh95mjQlV4",
      "order": 7,
      "extId": null
    },
    {
      "capacity": 20,
      "name": {
        "DE_DE": "Workshop Studio - Sao Paulo",
        "EN_US": "Workshop Studio - Sao Paulo"
      },
      "mtime": 1690827496852,
      "color": "#e4c7c1",
      "roomId": "IDYAB3LcoaeGa52agY7W",
      "order": 1,
      "extId": null
    },
    {
      "capacity": null,
      "name": {
        "DE_DE": "Music Stage",
        "EN_US": "Music Stage"
      },
      "mtime": 1651048302362,
      "color": "#7ba9a9",
      "roomId": "OFDQB3uxbQm7gstgTxlD",
      "order": 6,
      "extId": null
    },
    {
      "capacity": 20,
      "name": {
        "DE_DE": "Workshop Studio - New York",
        "EN_US": "Workshop Studio - New York"
      },
      "mtime": 1651048301892,
      "color": "#687579",
      "roomId": "VUpWOfXW0okTaqoF4Z1z",
      "order": 5,
      "extId": null
    },
    {
      "capacity": null,
      "name": {
        "DE_DE": "Old Congress Hall"
      },
      "mtime": 1679315680134,
      "color": "#fc8b83",
      "roomId": "b9tuEpUqwFQz2Rmjvugi",
      "order": 0,
      "extId": null
    },
    {
      "capacity": 10,
      "name": {
        "DE_DE": "Club Lounge",
        "EN_US": "Club Lounge"
      },
      "mtime": 1690827499293,
      "color": "#ea3b3c",
      "roomId": "lekZJw8DiFKOtzzwQ2MZ",
      "order": 2,
      "extId": null
    },
    {
      "capacity": 20,
      "name": {
        "DE_DE": "Speakers' Stage",
        "EN_US": "Speakers' Stage"
      },
      "mtime": 1690827499455,
      "color": "#b1d4d6",
      "roomId": "rt1KnJGCGzY3KBepkAqO",
      "order": 3,
      "extId": null
    }
  ],
  "success": true
}

```


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://talque.gitbook.io/public/json-api/room/list.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
