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 Scopes: 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.me
value instead of the userId
parameter.chat_channel:read:admin
Rate Limit Label: Medium
Body
PARAM
Key | Datatype | Required | Description |
page_size
|
number | The number of records returned with 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
{
"members": [
{
"email": "<email>",
"first_name": "<string>",
"id": "<string>",
"member_id": "<string>",
"last_name": "<string>",
"name": "<string>",
"role": "member",
"is_external": "<boolean>"
},
{
"email": "<email>",
"first_name": "<string>",
"id": "<string>",
"member_id": "<string>",
"last_name": "<string>",
"name": "<string>",
"role": "owner",
"is_external": "<boolean>"
}
],
"next_page_token": "<string>",
"page_size": 30,
"total_records": "<integer>"
} |
ENDPOINTS