List account's public channels

GET {{baseUrl}}/chat/channels?page_size=10&next_page_token=<string>

Lists public chat channels created by an account's users.

Note: This API only supports account-level apps. The user calling this API must have a role that has the View or Edit permission for the Chat Channels feature.

Scopes: chat_channel:read:admin
Rate Limit Label : Medium

Request Params

| Key | Datatype | Required | Description | | page_size | number | | The number of records returned per page in a single API call. | | next_page_token | string | | The next page token paginates through a large set of results. A next page token is returned whenever the set of available results exceeds the current page size. This token's expiration period is 15 minutes. |

HEADERS

| Key | Datatype | Required | Description | | Accept | string | | |

RESPONSES

status: OK

{&quot;channels&quot;:[{&quot;properties&quot;:{&quot;channel_settings&quot;:{&quot;add_member_permissions&quot;:2,&quot;new_members_can_see_previous_messages_files&quot;:&quot;\u003cboolean\u003e&quot;,&quot;posting_permissions&quot;:2,&quot;mention_all_permissions&quot;:2,&quot;allow_to_add_external_users&quot;:0},&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;jid&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:3,&quot;channel_url&quot;:&quot;\u003cstring\u003e&quot;}},{&quot;properties&quot;:{&quot;channel_settings&quot;:{&quot;add_member_permissions&quot;:2,&quot;new_members_can_see_previous_messages_files&quot;:&quot;\u003cboolean\u003e&quot;,&quot;posting_permissions&quot;:2,&quot;mention_all_permissions&quot;:1,&quot;allow_to_add_external_users&quot;:0},&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;jid&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;type&quot;:5,&quot;channel_url&quot;:&quot;\u003cstring\u003e&quot;}}],&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:&quot;\u003cinteger\u003e&quot;,&quot;total_records&quot;:&quot;\u003cinteger\u003e&quot;}