> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# List Channels

> Lists public and private channels in the connected Slack workspace with their IDs

Lists public and private channels in the connected Slack workspace with their IDs

|                      |                       |
| -------------------- | --------------------- |
| **App**              | Slack                 |
| **Operation ID**     | `slack_list_channels` |
| **Type**             | Action                |
| **Connection**       | `slack` (required)    |
| **Credits per run**  | 1                     |
| **Agent / MCP tool** | Yes                   |

## Inputs

| Field              | Type    | Required | Default | Description                                                                       |
| ------------------ | ------- | -------- | ------- | --------------------------------------------------------------------------------- |
| `search_query`     | string  | No       | -       | Optional text filter applied to channel names (case-insensitive substring match). |
| `limit`            | integer | No       | `100`   | Maximum number of channels to return. Default: 100.                               |
| `exclude_archived` | boolean | No       | `True`  | Whether to exclude archived channels from the results. Default: true.             |

## Output

**Type**: `List[Dict]`

Returns list of channels.

**Fields**: `id`, `name`, `is_private`, `is_archived`, `num_members`, `topic`, `purpose`
