# Zoom Team Chat - Get Channel Members - No permission

**URL:** <https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093>\
**Category:** Chat\
**Tags:** api\
**Created:** [May 9, 2023, 1:50pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093 "2023-05-09T13:50:22Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![emason1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emason1/32/43877_2.png) [@emason1](https://devforum.zoom.us/u/emason1)\
**Post date:** [May 9, 2023, 1:50pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/1 "2023-05-09T13:50:22Z")

</div>

**API Endpoint(s) and/or Zoom API Event(s)**  
**API Call:** [https://api.zoom.us/v2/chat/channels/9468352e6836413796b890bf408a6834/members?page\_size=300](https://api.zoom.us/v2/chat/channels/9468352e6836413796b890bf408a6834/members?page_size=300)

**API Response w/ Owner Permissions:** {“code”:200,“message”:“No permission to access the channel members.”}

**Description**  
Ticket created with details: [https://support.zoom.us/hc/en-us/requests/17172000](https://support.zoom.us/hc/en-us/requests/17172000)

Could you please tell me what are you trying to achieve?

- We are trying to get a list of participants from Zoom Team Chat channels for archiving & compliance purposes. We have a pubic Zoom app called DataParser for Zoom where we pull data from our clients environment via APIs, format the data and send the data off to the client’s recommended 3rd party storage. When developing our software we test various apis with our internal account (account # 1108189), before any software updates get pushed to our clients environments. This specific api is not working for us.

**Error?**  
**API Response w/ Owner Permissions:** {“code”:200,“message”:“No permission to access the channel members.”}

**How To Reproduce**  
_Steps to reproduce the behavior:_

1. Create a channel with multiple members
2. Generate an Oauth Token using Owner Credentials. This token needs to have the proper token scopes needed for the Get Channel Members api call.
3. Call [https://api.zoom.us/v2/chat/channels/[channel\_id]/members?page\_size=300](https://api.zoom.us/v2/chat/channels/%5Bchannel_id%5D/members?page_size=300) on that channel or any channel in organization.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 10, 2023, 5:31pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/3 "2023-05-10T17:31:15Z")

</div>

Hi @emason1 ,

Thank you for these details–let’s figure this out! Along with Owner/admin permissions and Team Chat-enabled settings turned on via Zoom web portal, can you please confirm that the access token was created with `chat_channel:read` scope toggled on?

Is this your first time using this endpoint? Or have you previously successfully used this endpoint and are now experiencing unexpected behavior?

---

<div class="post-metadata">

**Author:** ![emason1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emason1/32/43877_2.png) [@emason1](https://devforum.zoom.us/u/emason1)\
**Post date:** [May 11, 2023, 2:57pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/4 "2023-05-11T14:57:14Z")

</div>

Yes, I can confirm that the token was created with chat\_channel:read scope is toggled on. Yes, this is our first time using this endpoint, therefore we have not ever been successfully able to use this endpoint.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/f/dff4384e1dba6e4e436b9fb51a9ba335b975b0b7.png)

---

<div class="post-metadata">

**Author:** ![emason1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emason1/32/43877_2.png) [@emason1](https://devforum.zoom.us/u/emason1)\
**Post date:** [May 12, 2023, 4:25pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/5 "2023-05-12T16:25:14Z")

</div>

Is there anything else we can try? We are still getting the following error. As you will see below the example channel is a Private Channel so I’m not sure if that is causing the error or not. We hope this is not the case. For compliance archiving purposes we need to be able to capture all channel participants regardless if the channels are private or not.

{“id”:“4c044e9e50a5eb8b07b633b7b4a4e70db283ab05e3fe70d278f90534591602af”,“type”:“group”,“name”:“Private Channel”,“channel\_id”:“5d90cfa01db545bc8a131f399d296dfb”,“last\_message\_sent\_time”:“2023-05-11T15:55:55Z”}

Response content from [https://api.zoom.us/v2/chat/channels/5d90cfa01db545bc8a131f399d296dfb/members?page\_size=300:](https://api.zoom.us/v2/chat/channels/5d90cfa01db545bc8a131f399d296dfb/members?page_size=300:) ~~|!rn!|~~ {“code”:200,“message”:“No permission to access the channel members.”}

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 17, 2023, 4:34pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/7 "2023-05-17T16:34:39Z")

</div>

Hi @emason1 , thank you for clarifying that this channel is private. I believe this may be the reason for the behavior you’re experiencing. I am confirming with the respective team.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 19, 2023, 7:18pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/8 "2023-05-19T19:18:57Z")

</div>

Hi @emason1 , still waiting to hear back on this, but I followed up.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 23, 2023, 4:57pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/9 "2023-05-23T16:57:31Z")

</div>

Hi @emason1 , this has been a little slow moving, and may have have to open a ticket directly with our API service engineering team. Will do so if I do not get clarity on this by EOD today. Thanks for your patience.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [May 23, 2023, 6:50pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/10 "2023-05-23T18:50:24Z")

</div>

Hi @emason1 , one of our chat app’s SMEs asked is this an account-level OAuth app? If yes, one reason this could occur is: The app may be authorized by admin A, but the channel may belong to admin B. And because the channel is private, they are unable to access it with Admin A’s token.

---

<div class="post-metadata">

**Author:** ![emason1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emason1/32/43877_2.png) [@emason1](https://devforum.zoom.us/u/emason1)\
**Post date:** [May 23, 2023, 8:31pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/11 "2023-05-23T20:31:33Z")

</div>

Yes, this is an account-level Oauth app. The token was created by the owner of our account which should have access to any channel’s even if they are not a member. For compliance purposes, we need to have a list of participants for all channels/chats regardless if they are public, private or contain external users. Is there another api that will provide us this information?

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 2, 2023, 3:44pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/12 "2023-06-02T15:44:06Z")

</div>

Hi @emason1 , can you please try using the account-level API? This should work:

> **[Zoom Team Chat API](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/listChannelMembers)**
>
> API Reference for /docs/api/rest/reference/chat/methods

---

<div class="post-metadata">

**Author:** ![emason1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emason1/32/43877_2.png) [@emason1](https://devforum.zoom.us/u/emason1)\
**Post date:** [June 2, 2023, 6:34pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/13 "2023-06-02T18:34:56Z")

</div>

This api requires us to pass the owner’s user id of the channel. That isn’t going to work for us because we don’t know who the owner of the channel is. Especially when the owner of the channel is an external user. In addition to this, we need to be able to capture data sent by internal users regardless if the channel is hosted by an external account or not.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [June 6, 2023, 9:19pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/14 "2023-06-06T21:19:30Z")

</div>

Hi @emason1 ,

Thanks for clarifying that the owner of the channel is an external user. Was this an installed chat app where the external account gave permission for the data you’re seeking?

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [December 5, 2024, 4:48pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/15 "2024-12-05T16:48:55Z")

</div>

This is weird! A server-to-server account level app should have access to everything. I too am trying to take a backup and cannot access all channels!  
Also, there is no API to channel messages directly instead of user \> channel \> messages.

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 6, 2024, 7:48pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/16 "2024-12-06T19:48:00Z")

</div>

Hi @viraj.kanwade , S2S is an internal app and can have access to most info but has to be scoped accordingly. Is the owner of the channel an external user like in the other example?

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [December 6, 2024, 8:53pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/17 "2024-12-06T20:53:24Z")

</div>

No. Some of these are regular group chats between 3 employees.

Funny part is  
/channels/{channelId}/members does not work.  
/users/{userId}/channels/{channelId}/members works irrespective of which of the 3 user ids I use!

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [December 6, 2024, 8:55pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/18 "2024-12-06T20:55:18Z")

</div>

So right now, as a workaround,  
I am making calls to get all users and iterate.  
Get users that belong to this channelId.  
Then call APIs with each of the userId for members and chat messages.

This works, but I am pretty sure thats a lot of API request the zoom server needs to handle!

---

<div class="post-metadata">

**Author:** ![gianni.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/gianni.zoom/32/32523_2.png) [@gianni.zoom](https://devforum.zoom.us/u/gianni.zoom)\
**Post date:** [December 9, 2024, 6:12pm UTC](https://devforum.zoom.us/t/zoom-team-chat-get-channel-members-no-permission/88093/19 "2024-12-09T18:12:06Z")

</div>

@viraj.kanwade just responded to you in other thread 🙂
