Skip to navigation

List Slack channels

List the channels visible to the Living Brain bot in a Slack installation. isMember tells you whether the bot has already been added to the channel.

Authentication

x-api-keystring

Your Living Brain API key. Create one from the dashboard; keys are scoped to an organization and carry the role of the member they were issued to.

Path parameters

brainIdstringRequired
Brain id

Headers

x-subject-idstringRequired
Identifies the end user the request is made on behalf of. Must be a UUID. Brains are owned by a subject, so this determines which brains the caller can see.

Query parameters

installationIdstringRequired
Slack installation id returned by the status endpoint

Response

idstring
Slack channel ID.
namestring
Slack channel name.
isPrivateboolean
Whether the channel is private.
isMemberboolean
Whether the Living Brain bot is already a member of the channel.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error