# List a Slack connection's channels

```http
GET https://trydimmi.com/api/v1/channels/{channel}/rooms
```

## Authorization

Send an API token as `Authorization: Bearer <token>`.
The token needs: `settings:read`.

## Path parameters

- `channel` (string, required): Id of the Slack connection, starting with chn_, such as chn_01jx2m8k4t. Find it with GET /integrations/{integration} (its channel_ids).

## Response 200 (OK)

- `data` (object[] | null, required): The items of this page, as a list; empty when nothing matches.
  - `channel_id` (string, required): Id of the Slack connection that watches the channel, such as chn_....
  - `created_at` (string, required): When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
  - `external_id` (string, required): Slack's own id of the channel, such as C0123ABCD.
  - `id` (string, required): The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.
  - `is_shared_external` (boolean, required): True when the Slack channel is shared with another organization.
  - `last_error` (string | null, required): Why watching the channel last failed; null when it is healthy.
  - `last_seen_event_at` (string | null, required): When an event from the channel last arrived; null if none has.
  - `mode` (string, required): Who counts as the customer in the channel: shared (the other organization's people), community (everyone but linked teammates), helpdesk (the team's colleagues) or internal (nobody).
  - `name` (string, required): The Slack channel's name.
  - `object` (string, required): The kind of record this is, the same for every record of its kind, such as article.
  - `removed_at` (string | null, required): When the app was removed from the channel; null while it is still in it. A removed room keeps its settings.
  - `settings` (object, required): The settings an admin chose for the channel, as an object; empty for none.
  - `status` (string, required): Whether the channel is watched: active, paused, removed or error.
  - `trigger` (string, required): When a message in the channel becomes a conversation: author_window, every_message, emoji, mention, ai, auto or off.
  - `updated_at` (string, required): When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.
- `links` (object): Addresses of related pages by name, such as next; left out when there are none.
- `meta` (object, required)
  - `next_cursor` (string | null, required): Send it as cursor to read the next page; null on the last page.
  - `per_page` (integer, required): How many items a page holds at most, such as 25.
  - `prev_cursor` (string | null, required): Send it as cursor to read the page before; null on the first page.
  - `total` (integer): How many items match in all; left out when the list does not count them.

## Response default (Error)

- `code` (string, required): Stable code for programs to tell errors apart, such as validation_failed or internal_error.
- `errors` (object): Each rejected field mapped to its messages. Only present when the input was invalid.
- `message` (string, required): What went wrong, in words safe to show a person.

## Example request

```bash
curl --request GET \
  --url 'https://trydimmi.com/api/v1/channels/{channel}/rooms' \
  --header 'Authorization: Bearer <token>'
```

## Example response

```json
{
  "data": [
    {
      "channel_id": "<string>",
      "created_at": "2026-11-01T09:30:00Z",
      "external_id": "<string>",
      "id": "<string>",
      "is_shared_external": true,
      "last_error": "<string>",
      "last_seen_event_at": "2026-11-01T09:30:00Z",
      "mode": "<string>",
      "name": "<string>",
      "object": "<string>",
      "removed_at": "2026-11-01T09:30:00Z",
      "settings": {
        "<key>": null
      },
      "status": "<string>",
      "trigger": "<string>",
      "updated_at": "2026-11-01T09:30:00Z"
    }
  ],
  "links": {
    "<key>": "<string>"
  },
  "meta": {
    "next_cursor": "<string>",
    "per_page": 123,
    "prev_cursor": "<string>",
    "total": 123
  }
}
```

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
