Skip to navigation

List Slack Channels

List public and private channels visible to the connected Slack installation.

Read live from Slack with the installation’s bot token, paging through every result rather than accepting a cursor, so this is a complete list and not a page. Nothing is filtered out here — check is_archived and is_member before routing to a channel. is_member is present only when Slack reported it. Answers 502 with Slack’s own error string when Slack rejects the call.

Authentication

AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

OR
AuthorizationBearer

API key or access token, sent as Authorization: Bearer <token>. The simplest option: create an API key in your dashboard under Settings, then paste it here.

Path parameters

org_idstringRequiredformat: "uuid"
The organization ID
project_idstringRequiredformat: "uuid"
The project ID
installation_idstringRequiredformat: "uuid"

Response

Successfully retrieved Slack channels
idstring
Slack channel ID.
namestring
Slack channel name.
is_privateboolean
Whether this is a private channel.
is_archivedboolean
Whether this channel is archived.
is_memberboolean or nullOptional
Whether the installed bot is a member of this channel, when reported by Slack.

Errors

400
Bad Request Error
403
Forbidden Error
422
Unprocessable Entity Error