Skip to content

Search Slack Workspace Channels

GET
/api/v3/organizations/{organisation}/ai/slack-bots/{botId}/workspace/channels
curl --request GET \
--url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/slack-bots/example/workspace/channels \
--header 'Authorization: Bearer <token>'

Searches channels in the Slack workspace connected to this bot. Requires the bot to be connected via OAuth.

organisation
required
string

The organisation ID

botId
required
string

The Slack bot ID

q
string

Search query to filter channels by name

Workspace channels retrieved successfully

Media typeapplication/json
object
results
Array<object>
object
id
string
name
string
Examplegenerated
{
"results": [
{
"id": "example",
"name": "example"
}
]
}

Access denied

Slack bot not found or not connected

Failed to search channels