`GET /v1/orgs/{org}/slack/installations/{installation_id}/channels`.
const url = 'https://api.updawg.net/v1/orgs/example/slack/installations/example/channels';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.updawg.net/v1/orgs/example/slack/installations/example/channelsParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Organization slug.
The sli_… id.
Responses
Section titled “Responses”The workspace’s public channels that are not archived, by name: at most 2,000, and truncated when there are more.
The channels, by name.
object
A public channel in the workspace, for the portal’s channel picker.
object
C…: what a slack_app channel’s channel takes.
Whether the app is in it already. It posts to a public channel either way.
Always false: only public channels are listed, because the app can
post only to a private one it has been invited to.
Without the #.
The workspace has more public channels than the 2,000 listed: one not here can still be typed by name or id.
Example generated
{ "channels": [ { "id": "example", "is_member": true, "is_private": true, "name": "example", "num_members": 1 } ], "truncated": true}No session.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Not permitted for this role, or the plan does not include chat notifications: plan-required.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}No such installation here.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The app’s token cannot list channels: removed in Slack, or installed before the app asked for channels:read. slack-reinstall-needed; installing again fixes it.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}The organization’s data is in another region (wrong-region, DAWG-159). detail names that region’s API; send the request there.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}Over the organization’s request limit. Retry-After says when to try again; RateLimit-Limit is the burst.
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}This deployment has no Slack app (slack-unavailable), or Slack is rate limiting it (slack-busy, with Retry-After).
object
Example generated
{ "detail": "example", "status": 1, "title": "example", "type": "example"}