List channel members

GET {{baseUrl}}/chat/users/:userId/channels/:channelId/members?page_size=30&next_page_token=<string>

Lists all members of a channel. For user-level apps, pass the me value instead of the userId parameter.

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

Note: For an account-level OAuth app, this API can only be used on behalf of a user who is assigned with a role that has the View or Edit permission for Chat Channels.

Request Params

KeyDatatypeRequiredDescription
page_sizenumberThe number of records returned with a single API call.
next_page_tokenstringThe 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

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;members&quot;:[{&quot;email&quot;:&quot;\u003cemail\u003e&quot;,&quot;first_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;member_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;role&quot;:&quot;member&quot;,&quot;is_external&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;email&quot;:&quot;\u003cemail\u003e&quot;,&quot;first_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;member_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;last_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;role&quot;:&quot;owner&quot;,&quot;is_external&quot;:&quot;\u003cboolean\u003e&quot;}],&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:30,&quot;total_records&quot;:&quot;\u003cinteger\u003e&quot;}