SlackSlackCommunity

List your Slack workspace channels, public and private

slack.slack.channels.list

List the channels in your Slack workspace, public and private

Price
freeZum Anbieterpreis
Success rate
—Noch keine ErfolgsratendatenNoch keine Erfolgsratendaten
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.channels.listPreview
Try onlineDemnächstProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameter

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

ParameterTypErforderlichBeschreibungBeispiel
Abfrageparameter
limitGanzzahlOptionaldefault 100, must be under 1000100
typesZeichenketteOptionalcomma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitlypublic_channel,private_channel
cursorZeichenketteOptionalresponse_metadata.next_cursor from the previous page
team_idZeichenketteOptionalrequired only when the token belongs to an org-wide app
exclude_archivedBooleanOptionaldefault false — archived channels are included unless you opt outtrue
  • Abfrageparameter
  • limitGanzzahlOptional

    default 100, must be under 1000

    Beispiel: 100

  • typesZeichenketteOptional

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

    Beispiel: public_channel,private_channel

  • cursorZeichenketteOptional

    response_metadata.next_cursor from the previous page

  • team_idZeichenketteOptional

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

  • exclude_archivedBooleanOptional

    default false — archived channels are included unless you opt out

    Beispiel: true

Codebeispiele

Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.

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

Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit free einschließlich Servicegebühr abgerechnet.