Command
nylas slack channels list
List channels.
Written by Qasim Muhammad Staff SRE
What does nylas slack channels list do?
The nylas slack channels list command displays all Slack channels in your workspace — public, private (that you belong to), and archived. Filter and search channels from the terminal without opening the Slack app.
Usage
nylas slack channels listFlags
| Flag | Description |
|---|---|
| --json | Output as JSON |
| --no-color | Disable color output |
| --verbose(-v) | Enable verbose output |
| --config | Custom config file path |
| --help(-h) | Show help for the command |
| --limit | Limit results (most list commands) |
| --yes(-y) | Skip confirmations |
| --all | Fetch all channels (paginate through all pages) |
| --all-workspace | List all workspace channels (slower, may hit rate limits) |
| --created-after | Show channels created after duration (e.g., 24h, 7d, 2w) |
| --exclude-archived | Exclude archived channels |
| --id | Show channel IDs |
| --team | Team/workspace ID (auto-detected for Enterprise Grid) |
| --type | Channel types: public_channel, private_channel, mpim, im |
Examples
The nylas slack channels list command displays all Slack channels in your workspace — public, private (that you belong to), and archived.
List channels
nylas slack channels listJSON output
nylas slack channels list --jsonExample output
NAME TYPE MEMBERS
#general public_channel 42
#engineering public_channel 18
#random public_channel 37
Alice Chen im 2
4 channelsTroubleshooting
No channels returned
Run `nylas slack auth set` first to configure your Slack token. The token needs `channels:read` scope.
Private channels missing
Your Slack token must have `groups:read` scope to see private channels you belong to.
Run nylas slack channels list --help for full help output.