# Can't get read access to chats, channels, and roles endpoint access

**URL:** <https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557>\
**Category:** Users and Groups\
**Tags:** api\
**Created:** [March 10, 2022, 4:18am UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557 "2022-03-10T04:18:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashyap.solanki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kashyap.solanki/32/36769_2.png) [@kashyap.solanki](https://devforum.zoom.us/u/kashyap.solanki)\
**Post date:** [March 10, 2022, 4:18am UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/1 "2022-03-10T04:18:51Z")

</div>

I am creating an OAuth account-level app. I have an admin role account with a licensed version.  
I need to fetch chats, channels and roles from the zoom account which requires these three scopes:

**chat\_message:read:admin**  
**chat\_channel:read:admin**  
**role:read:admin**

but when I try to get an authentication code for the same this error is returned:

> You cannot authorize ZoomConnectorDevelopBETA
> 
> You cannot install the app because you don’t have the required permissions. Please contact your IT administrator for permission and try again. [Edit on Web Portal](https://zoom.us/role#)
> 
> API Features
> 
> View “Chat messages”
> 
> API Features
> 
> View “Chat channels”
> 
> User and Permission Management
> 
> View “Role management”

These are the 3 API endpoints I am using to fetch data from zoom.

1. v2/chat/users/{userId}/channels
2. v2/chat/users/{userId}/messages
3. v2/roles

How do I get access to these end-points in my account?

---

<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:** [March 10, 2022, 4:19pm UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/2 "2022-03-10T16:19:23Z")

</div>

Hi @kashyap.solanki ,

You may have the Admin role, but your settings may still not be configured for what you want to do with chat. Please check this out and review your web portal settings:

> **[Chat Admin Settings – Zoom Support](https://support.zoom.us/hc/en-us/sections/4413424672013-Chat-Admin-Settings)**
>
> There are multiple messaging settings that can be configured by Zoom Chat admins including advanced chat encryption and the ability to...

Gianni

---

<div class="post-metadata">

**Author:** ![kashyap.solanki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kashyap.solanki/32/36769_2.png) [@kashyap.solanki](https://devforum.zoom.us/u/kashyap.solanki)\
**Post date:** [May 30, 2022, 8:57am UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/3 "2022-05-30T08:57:34Z")

</div>

Hey, @gianni.zoom I have Added a read permission by visiting #roles from Admin’s account.  
The problem I’m facing is that I can fetch the chat messages that happened between individual accounts having proper chat access permissions, but the response doesn’t include messages from chat channels.  
Endpoint: [https://api.zoom.us/v2/chat/users/me/messages](https://api.zoom.us/v2/chat/users/me/messages)  
I have added the chat\_message:read:admin and chat\_channel:read:admin scopes to the Oauth App.  
PFA:  
Permissions added to the role:  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/8/286a23ee95e77882f7e9199f8119d7b1c918b5cc.png)

---

<div class="post-metadata">

**Author:** ![kashyap.solanki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kashyap.solanki/32/36769_2.png) [@kashyap.solanki](https://devforum.zoom.us/u/kashyap.solanki)\
**Post date:** [May 30, 2022, 12:20pm UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/4 "2022-05-30T12:20:11Z")

</div>

I tested my code before few days, to be precise before Friday for this  
Endpoint: [https://api.zoom.us/v2/chat/users/{user\_id}/messages?from=2021-12-10T21:39:50Z&search\_type=message&search\_key=%20](https://api.zoom.us/v2/chat/users/%7Buser_id%7D/messages?from=2021-12-10T21:39:50Z&search_type=message&search_key=%20)  
API was returning all the conversations that happened with anyone from `user_id` along with the conversations from channels also.  
But now it only returns messages sent from the account in which the OAuth App is created irrespective of the `user_id` I pass in the queries, the response doesn’t include messages from chat channels.  
Although it is clearly mentioned in this  
Endpoint: [Zoom Chat API](https://marketplace.zoom.us/docs/api-reference/chat/methods/#operation/getChatMessages)  
that if we use  
`search_type` and `search_key` then it will return all the chats initiated by the `user_id` present in the get query from either 1:1 chats or from chat channels.

---

<div class="post-metadata">

**Author:** ![kashyap.solanki](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kashyap.solanki/32/36769_2.png) [@kashyap.solanki](https://devforum.zoom.us/u/kashyap.solanki)\
**Post date:** [June 6, 2022, 12:38pm UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/6 "2022-06-06T12:38:27Z")

</div>

Did you get time to look into this issue? @gianni.zoom

---

<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 9, 2022, 1:27pm UTC](https://devforum.zoom.us/t/cant-get-read-access-to-chats-channels-and-roles-endpoint-access/65557/7 "2022-06-09T13:27:26Z")

</div>

Hi @kashyap.solanki ,

The support team member you have been coordinating with is going to follow up with you shortly. Thanks so much!
