List channels
List Slack channels for a Slack workspace.
List channels
List Slack channels for a Slack workspace.
Endpoint
Rate limit
Tier 2Path parameters
The ID of the Knock Slack channel to get channels for.
Query parameters
A JSON encoded string containing the access token object reference.
Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.
The maximum number of channels to return. Defaults to 200.
Set to true to exclude archived channels from the list. Defaults to true when not explicitly provided.
Mix and match channel types by providing a comma-separated list of any combination of public_channel, private_channel, mpim, im. Defaults to "public_channel,private_channel". If the user's Slack ID is unavailable, this option is ignored and only public channels are returned.
Encoded team ID (T1234) to list channels in, required if org token is used.
Returns
The response from a Slack provider request, containing a list of channels.
Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection.
List of Slack channels.
The team ID that the Slack channel belongs to.
A Slack channel ID from the Slack provider.
Whether the Slack channel is an IM channel.
Whether the Slack channel is private.
Slack channel name.
Authentication error response
The error code.
The error message.
The HTTP status code.
The error type.