ApiIntegrations
List Slack Channels
List the Slack channels available to the workspace's connected bot.
List the Slack channels available to the workspace's connected bot.
Includes every public channel and the private channels the Levain app has been invited to.
Returns connected: false with an empty channel list when the workspace has no
active Slack integration. When connected, channels are fetched live from the
Slack API and sorted alphabetically.
Requires the channels:read bot scope. Workspaces whose Slack integration
predates this scope must reconnect via POST /api/v1/integrations/slack/connect
to grant it.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Header Parameters
X-API-Key?string|null
Response Body
application/json
application/json
curl -X GET "https://api.levainlabs.com/api/v1/integrations/slack/channels"{
"connected": true,
"channels": [
{
"id": "string",
"name": "string"
}
]
}