SlackSlackCommunity

List your Slack workspace channels, public and private

slack.slack.channels.list

List the channels in your Slack workspace, public and private

Price
freeAu prix du fournisseur
Success rate
—Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.channels.listPreview
Try onlineBientôtProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Paramètres

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

ParamètreTypeObligatoireDescriptionExemple
Paramètres de requête
limitentierFacultatifdefault 100, must be under 1000100
typeschaîneFacultatifcomma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitlypublic_channel,private_channel
cursorchaîneFacultatifresponse_metadata.next_cursor from the previous page
team_idchaîneFacultatifrequired only when the token belongs to an org-wide app
exclude_archivedbooléenFacultatifdefault false — archived channels are included unless you opt outtrue
  • Paramètres de requête
  • limitentierFacultatif

    default 100, must be under 1000

    Exemple : 100

  • typeschaîneFacultatif

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

    Exemple : public_channel,private_channel

  • cursorchaîneFacultatif

    response_metadata.next_cursor from the previous page

  • team_idchaîneFacultatif

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

  • exclude_archivedbooléenFacultatif

    default false — archived channels are included unless you opt out

    Exemple : true

Exemples de code

Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.

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

Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à free, frais de service inclus.