channels_list
Retrieve and organize Slack workspace channels by type (public, private, DMs, group DMs) with optional sorting by member count and pagination support.
Instructions
Lists workspace channels by type (public, private, DMs, group DMs) with optional popularity sorting. Supports pagination.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accessToken | Yes | Slack OAuth token (xoxp-... or xoxb-...) | |
| channel_types | Yes | Comma-separated channel types: mpim, im, public_channel, private_channel | |
| sort | No | Sort by member count (popularity) | |
| limit | No | Number of results (max: 999, default: 100) | |
| cursor | No | Pagination cursor from previous response |
Input Schema (JSON Schema)
{
"properties": {
"accessToken": {
"description": "Slack OAuth token (xoxp-... or xoxb-...)",
"type": "string"
},
"channel_types": {
"description": "Comma-separated channel types: mpim, im, public_channel, private_channel",
"type": "string"
},
"cursor": {
"description": "Pagination cursor from previous response",
"type": "string"
},
"limit": {
"description": "Number of results (max: 999, default: 100)",
"type": "string"
},
"sort": {
"description": "Sort by member count (popularity)",
"type": "string"
}
},
"required": [
"accessToken",
"channel_types"
],
"type": "object"
}