---
updatedAt: 2025-07-24T16:48:38.000Z
agentTools:
  projectIndex: https://docs.arena.im/llms.txt
---

# List Channels for a Chat

Retrieves a paginated list of channels associated with a specific chat, with optional filtering, pagination, and sorting.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/chats/{chatId}/channels": {
      "get": {
        "summary": "List Channels for a Chat",
        "description": "Retrieves a paginated list of channels associated with a specific chat, with optional filtering, pagination, and sorting.",
        "operationId": "ChannelController_findAll",
        "parameters": [
          {
            "name": "chatId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            },
            "description": "The unique ID of the chat whose channels are being retrieved"
          },
          {
            "name": "filter[name]",
            "description": "Filter channels by name",
            "required": false,
            "in": "query",
            "schema": {
              "example": "my channel",
              "type": "string"
            }
          },
          {
            "name": "filter[externalId]",
            "description": "Filter channels by external ID",
            "required": false,
            "in": "query",
            "schema": {
              "example": "MyExternalId",
              "type": "string"
            }
          },
          {
            "name": "page[offset]",
            "description": "Number of records to skip\n\nMinimum: 0",
            "required": false,
            "in": "query",
            "schema": {
              "minimum": 0,
              "default": 0,
              "example": 10,
              "type": "number"
            }
          },
          {
            "name": "page[limit]",
            "description": "Number of records to return\n\nMinimum: 0\n\nMaximum: 100",
            "required": false,
            "in": "query",
            "schema": {
              "minimum": 0,
              "maximum": 100,
              "default": 10,
              "example": 20,
              "type": "number"
            }
          },
          {
            "name": "sort",
            "required": false,
            "in": "query",
            "description": "Comma-separated fields to sort the results (e.g., '-name' for descending order)",
            "schema": {
              "example": "-name,-createdAt",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "headers": {
              "Paging-Total-Docs": {
                "description": "Total number of documents available",
                "schema": {
                  "type": "number"
                }
              },
              "Paging-Limit": {
                "description": "Number of documents requested per page",
                "schema": {
                  "type": "number"
                }
              },
              "Paging-Offset": {
                "description": "Number of documents skipped",
                "schema": {
                  "type": "number"
                }
              },
              "Paging-Has-Next-Page": {
                "description": "Indicates whether a next page exists",
                "schema": {
                  "type": "boolean"
                }
              },
              "Paging-Has-Prev-Page": {
                "description": "Indicates whether a previous page exists",
                "schema": {
                  "type": "boolean"
                }
              },
              "Paging-Total-Pages": {
                "description": "Total number of pages available",
                "schema": {
                  "type": "number"
                }
              }
            },
            "description": "Successfully retrieved a list of channels",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ResponseChannelDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized due to missing or expired authentication token"
          }
        },
        "tags": [
          "channels"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "Customer's API",
    "description": "API to manage customer resources",
    "version": "3.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.arena.im/v3"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "ResponseChannelDto": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Name of the channel",
            "example": "Awesome channel"
          },
          "externalId": {
            "type": "string",
            "description": "Optional ID of client datasource",
            "example": "MyInternalChannelId"
          },
          "gifs": {
            "type": "boolean",
            "description": "Allow users to send gifs to channel",
            "example": true,
            "default": false
          },
          "userUrls": {
            "type": "boolean",
            "description": "Allow users to share url links",
            "example": true,
            "default": false
          },
          "preModeration": {
            "type": "boolean",
            "description": "Messages need to be approved before shows in channel",
            "example": true,
            "default": false
          },
          "profanityFilter": {
            "type": "string",
            "description": "Apply filter in messages. \n\n* block: block messages if matches filter \n* none: do not apply filter in messages \n* false: do not apply filter in messages \n* true: block messages \n* replace: replace the words with *** \n",
            "example": "block",
            "enum": [
              "",
              "block",
              "none",
              "false",
              "replace",
              "true"
            ]
          },
          "reactions": {
            "type": "boolean",
            "description": "Enable or disable show reactions button",
            "example": true,
            "default": false
          },
          "qna": {
            "type": "boolean",
            "description": "Enable or disable Question and Answer in channel",
            "example": true,
            "default": false
          },
          "emojis": {
            "type": "boolean",
            "description": "Enable or disable the use of emojis in channel",
            "example": true,
            "default": true
          },
          "id": {
            "type": "string",
            "description": "id of channel",
            "example": "896e54c2-65e2-11ed-9022-0242ac120002"
          },
          "createdAt": {
            "type": "string",
            "description": "Date of created channel",
            "example": "2022-11-16T19:10:48.059Z"
          }
        },
        "required": [
          "name",
          "id",
          "createdAt"
        ]
      }
    }
  }
}
```