Skip to content

`GET /v1/orgs/{org}/slack/installations/{installation_id}/channels`.

GET
/v1/orgs/{org}/slack/installations/{installation_id}/channels
curl --request GET \
--url https://api.updawg.net/v1/orgs/example/slack/installations/example/channels
org
required
string

Organization slug.

installation_id
required
string

The sli_… id.

The workspace’s public channels that are not archived, by name: at most 2,000, and truncated when there are more.

Media typeapplication/json

The channels, by name.

object
channels
required
Array<object>

A public channel in the workspace, for the portal’s channel picker.

object
id
required

C…: what a slack_app channel’s channel takes.

string
is_member
required

Whether the app is in it already. It posts to a public channel either way.

boolean
is_private
required

Always false: only public channels are listed, because the app can post only to a private one it has been invited to.

boolean
name
required

Without the #.

string
num_members
integer | null format: int64
truncated
required

The workspace has more public channels than the 2,000 listed: one not here can still be typed by name or id.

boolean

Example generated

{
"channels": [
{
"id": "example",
"is_member": true,
"is_private": true,
"name": "example",
"num_members": 1
}
],
"truncated": true
}

No session.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}

No such installation here.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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.

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

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).

Media typeapplication/json
object
detail
string | null
status
required
integer format: int32
title
required
string
type
required
string

Example generated

{
"detail": "example",
"status": 1,
"title": "example",
"type": "example"
}