# Getting chat channel users and transcripts

**URL:** <https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489>\
**Category:** API and Webhooks\
**Created:** [April 27, 2023, 1:48pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489 "2023-04-27T13:48:03Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [April 27, 2023, 1:48pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/1 "2023-04-27T13:48:03Z")

</div>

### Format Your New Topic as Follows:

**API Endpoint(s) and/or Zoom API Event(s)**  
/chat/channels/:channelId/members?page\_size=50

**Description**  
I am recieving the follow error : “message”: “No permission to access the channel members.”  
according to the API for this call, I need scope for **Scopes:** `chat_channel:read` which I have. But I continue to get an error saying I dont have permission. Is there another scope or some kind of security I need for this?

**Error?**  
“message”: “No permission to access the channel members.”

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [April 28, 2023, 5:59pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/2 "2023-04-28T17:59:34Z")

</div>

Hey @DarylH  
Thanks for reaching out to us!  
Could you please make sure that you have all chat permissions enabled in the Web portal?  
Under the admin tab \> account management \> account settings \> team chat

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 1, 2023, 2:37pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/3 "2023-05-01T14:37:00Z")

</div>

we do NOT have it enabled for the account only specific groups

Here are a couple of screenshots, do these help?  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/5/05793242d54c5dd36f28ffbfe8d28d02d4840110.png)

Here is my permissions by role :  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/8/c8efb5eddcfdcb9bcca4a7e71c44dbc32a4059fd.png)

thanks for your help so far!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 1, 2023, 11:48pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/4 "2023-05-01T23:48:10Z")

</div>

Hey @DarylH  
I am trying to replicate what you are seeing with my account, but I can not. So I have another question, what kind of app are you using? are you working with the Server to Server App or Team Chat App??  
If it is a team chat app is it a user level?

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 2, 2023, 1:52pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/5 "2023-05-02T13:52:31Z")

</div>

it is a server to Server-to-Server OAuth. Account-Level

here is the scopes that return from my Postman call for getting the 0AuthAccess Token:  
We tried adding extra stuff just to try to get it to work, but the API says all I should need is chat\_channel:read:admin

`"scope": "user:read:admin imgroup:read:admin meeting:read:admin group:master group:read:admin imgroup:master imchat:read:admin chat_channel:read:admin user:master chat_message:read:admin contact_group:read:admin"`

it appears I can get the members of the chat channel i’m in, but not the ones i’m personally not in, but since i have admin, shouldnt I be able to?

Another option to get trascripts could be to just get all the chat sessions, but because we are only trying to archive certain individuals, it would be very helpful to just check each sessions’ users before bothering to archive the transcript. is this possible? something like /report/chat/sessions/{{sessionId}}/members?

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 2, 2023, 7:51pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/7 "2023-05-02T19:51:12Z")

</div>

HI @DarylH  
Ah, I see…  
So you can actually get members of channels that you are in but not other channels?  
We have a couple or Chat report endpoints:  
[Get chat sessions reports](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/reportChatSessions) and [Get chat messages reports](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/reportChatMessages)

But I am thinking that if you only want to archive the transcripts for a certain user, maybe you can call the [List a users chat sessions endpoint?](https://developers.zoom.us/docs/api/rest/reference/chat/methods/#operation/getChatSessions)

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 3, 2023, 1:39pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/8 "2023-05-03T13:39:02Z")

</div>

Unfortunatly, I don’t think **List a user’s chat chat sessions** would be efficient because there could be thousands of users who are “tagged” as needing to be archived who dont actually use zoom chat. So I’d have to make thousands of calls daily when a great majority of them would return nothing.

My ideal happy path would be to get All Chat Sessions (using the above mentioned “ **Get Chat sessions report** ”), then get all the users for each chat session (this is the part I’m unable to find a good call to do), and if that session contains a user that needs to be archived, then we get the actual transcript (using “ **Get Chat Messages Reports** ”)

I COULD get every single chat message via **Get Chat Messages Reports** and traverse through all the “sender” variables in the JSON, but that seems less efficient too since many sessions are probably not going to qualify for archving.

Elisa, I appreciate your help thus far!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 3, 2023, 6:07pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/9 "2023-05-03T18:07:55Z")

</div>

You are right, there would be a lot of information @DarylH  
I am not just thinking if you have been able to work on the initial error you were having (I do not know if got distracted from the original problem 😅)

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 4, 2023, 1:42pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/10 "2023-05-04T13:42:49Z")

</div>

thats true 🙂  
I think the original issue is the same though, being unable to get the members of a channel/session that I am not in. Is that possible? And without knowing who is in it? it does seem that this call works, but I’d have to already know someone who is in it. **/chat/users/{userId}/channels/{channelId}**

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 5, 2023, 8:03pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/11 "2023-05-05T20:03:02Z")

</div>

Right! sorry about that @DarylH  
let me create different channels and add people to my test account so I can test this properly

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 8, 2023, 5:42pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/12 "2023-05-08T17:42:07Z")

</div>

thank you for your continued help

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 8, 2023, 7:53pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/13 "2023-05-08T19:53:35Z")

</div>

Hi @DarylH  
I was able to replicate this issue with my test account, even using a Server to Server OAuth app that is an account-level app when I tried to call the chat channel users endpoint, I got a 200 No permission to access the channel members.  
Let me take a look into my account settings and see if there is any settings we can change to access other channels

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 8, 2023, 7:58pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/14 "2023-05-08T19:58:36Z")

</div>

this a great news, well, great that you found it 🙂  
Thank you for your help!

please continue to let me know what you find, I appreciate your help.

Ideally the call would look like something based off this **{{baseUrl}}/chat/channels/:channelId/members?page\_size=20**  
but with session ID would be better, this would then work from 1:1 and every other type, so the call would maybe look something like this…

**{{baseUrl}}/chat/sessions/{SESSION\_ID}/members?page\_size=20**

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 8, 2023, 8:08pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/15 "2023-05-08T20:08:32Z")

</div>

I have created an internal ticket with our Engineering team to understand this API behavior  
(ZSEE-91917 for reference) I will update you as soon as I have more information 🙂

---

<div class="post-metadata">

**Author:** ![DarylH](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/darylh/32/40410_2.png) [@DarylH](https://devforum.zoom.us/u/DarylH)\
**Post date:** [May 17, 2023, 1:50pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/16 "2023-05-17T13:50:45Z")

</div>

Hello @elisa.zoom , just following up on this to see if we have any progress

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [May 18, 2023, 12:55pm UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/17 "2023-05-18T12:55:24Z")

</div>

> [@elisa.zoom](#):
>
> 91917

Hi @DarylH  
Thanks for your patience here.  
I am still working with our Engineering team on this. But I will update you shortly

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [May 21, 2024, 4:32am UTC](https://devforum.zoom.us/t/getting-chat-channel-users-and-transcripts/87489/18 "2024-05-21T04:32:14Z")

</div>

This topic was automatically closed 368 days after the last reply. New replies are no longer allowed.
