Skip to content

List Channels

Endpoint used to list channels of a Slack workspace.

Terminal window
curl --request POST \
--url https://converflow.api.prod.toolzz.media/api/v1/slack/channels \
--header 'Authorization: Bearer TOKEN_HERE' \
--header 'Content-Type: application/json' \
--data '{
"botToken": "string"
}'
{
"data": [
{
"id": "<string>",
"name": "<string>",
"isPrivate": boolean
}
]
}

ParameterTypeDescriptionRequired
AuthorizationStringAccess token (“Bearer” must be before the token)Yes
ParameterTypeDescriptionRequired
botTokenStringSlack bot token.Yes
KeyTypeDescriptionRequired
data[]ArrayList of objects containing the channels available in the Workspace.Yes
idStringUnique channel identifier on Slack.Yes
nameStringFriendly name of the channel (e.g., “social”, “new-channel”).Yes
isPrivateBooleanIndicates if the channel is private (true) or public (false).Yes

To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request. Additionally, the API is protected by other security measures to safeguard user data.

To access your access token, follow these steps:

  1. Log in to the ToolzzAI platform
  2. Click on “Settings”
  3. Click on “Access Token”
  4. Copy the access token

Access token page