SlackSlackCommunity

List your Slack workspace channels, public and private

slack.slack.channels.list

List the channels in your Slack workspace, public and private

Price
freePelo preço do provedor
Success rate
—Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
Latency p50
——
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/slack.slack.channels.listPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

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

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
limitinteiroOpcionaldefault 100, must be under 1000100
typesstringOpcionalcomma-separated: public_channel, private_channel, mpim, im. Default public_channel only — private channels need this set explicitlypublic_channel,private_channel
cursorstringOpcionalresponse_metadata.next_cursor from the previous page
team_idstringOpcionalrequired only when the token belongs to an org-wide app
exclude_archivedbooleanoOpcionaldefault false — archived channels are included unless you opt outtrue
  • Parâmetros de consulta
  • limitinteiroOpcional

    default 100, must be under 1000

    Exemplo: 100

  • typesstringOpcional

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

    Exemplo: public_channel,private_channel

  • cursorstringOpcional

    response_metadata.next_cursor from the previous page

  • team_idstringOpcional

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

  • exclude_archivedbooleanoOpcional

    default false — archived channels are included unless you opt out

    Exemplo: true

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

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

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a free, incluindo a taxa de serviço.