---
title: "List a Discord bot connection's channels"
method: GET
path: "/integrations/connections/{connectionId}/discord-channels"
tags: ["Integrations"]
---

# List a Discord bot connection's channels

`GET /integrations/connections/{connectionId}/discord-channels`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/integrations/connections/{connectionId}/discord-channels`
- Auth: none declared
- TypeScript: <https://skmtc.dev/sazabi/apis/sazabi-public-api/docs/integrations/connections/:connectionId/discord-channels/get.ts> (a function with typed inputs; its response is checked against the schema)

List the text and announcement channels the Sazabi bot can see in a Discord bot connection's server, in Discord's order. These are the channels a channel-to-project mapping can name.

## Path parameters

- `connectionId` string, uuid, required: Discord bot integration connection ID (the `integration_connections.id`).

## Query parameters

- `organizationId` string: Organization the connection belongs to. Auto-filled from CLI and SDK context when omitted.

## Response `200`

OK

- object
  - `channels` object[], required
    - `id` string, required: Discord channel ID (a snowflake).
    - `name` string, required: The channel's name, as Discord names it.
    - `parentId` string, nullable, required: The category the channel sits under, when it has one.

## Changes

- **2026-11-06** `33821f7c6f4a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sazabi/apis/sazabi-public-api/changes/integrations/connections/:connectionId/discord-channels/get.md)

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/5069780beea6?raw)
