SlackSlackCommunity

List your Slack workspace channels, public and private

slack.slack.channels.list

List the channels in your Slack workspace, public and private

Price
freeAt provider cost
Success rate
—No success-rate data yetNo success-rate data yet
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.channels.listPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

the bot only sees private channels it has been /invite-d to, regardless of scopes

ParameterTypeRequiredDescriptionExample
Query parameters
limitintegerOptionaldefault 100, must be under 1000100
typesstringOptionalcomma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitlypublic_channel,private_channel
cursorstringOptionalresponse_metadata.next_cursor from the previous page
team_idstringOptionalrequired only when the token belongs to an org-wide app
exclude_archivedbooleanOptionaldefault false — archived channels are included unless you opt outtrue
  • Query parameters
  • limitintegerOptional

    default 100, must be under 1000

    Example: 100

  • typesstringOptional

    comma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitly

    Example: public_channel,private_channel

  • cursorstringOptional

    response_metadata.next_cursor from the previous page

  • team_idstringOptional

    required only when the token belongs to an org-wide app

  • exclude_archivedbooleanOptional

    default false — archived channels are included unless you opt out

    Example: true

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/slack.slack.channels.list' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at free, including the service fee.