SlackSlackCommunity

List your Slack workspace channels, public and private

slack.slack.channels.list

List the channels in your Slack workspace, public and private

Price
freeプロバイダー原価
Success rate
—成功率データはまだありません成功率データはまだありません
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.channels.listPreview
Try online近日公開Provider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

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

パラメータ型必須説明例
クエリパラメータ
limit整数任意default 100, must be under 1000100
types文字列任意comma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitlypublic_channel,private_channel
cursor文字列任意response_metadata.next_cursor from the previous page
team_id文字列任意required only when the token belongs to an org-wide app
exclude_archived真偽値任意default false — archived channels are included unless you opt outtrue
  • クエリパラメータ
  • limit整数任意

    default 100, must be under 1000

    例:100

  • types文字列任意

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

    例:public_channel,private_channel

  • cursor文字列任意

    response_metadata.next_cursor from the previous page

  • team_id文字列任意

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

  • exclude_archived真偽値任意

    default false — archived channels are included unless you opt out

    例:true

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

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

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。