# Not authorized to see the chat messages

**URL:** <https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738>\
**Category:** API and Webhooks\
**Created:** [July 30, 2020, 3:42pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738 "2020-07-30T15:42:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaghili](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaghili/32/9710_2.png) [@aaghili](https://devforum.zoom.us/u/aaghili)\
**Post date:** [July 30, 2020, 3:42pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/1 "2020-07-30T15:42:28Z")

</div>

**Description**  
Hi,  
I’m trying to view the chat messages of the user using the following api.  
/chat/users/{userId}/messages  
My URL looks like this.  
[https://api.zoom.us/v2/chat/users/brichey%40fdfdods.com/messages?to\_contact=ss%40fdfdods.com&page\_size=50&date=2020-07-22&next\_page\_token=](https://api.zoom.us/v2/chat/users/brichey%40fdfdods.com/messages?to_contact=ss%40fdfdods.com&page_size=50&date=2020-07-22&next_page_token=)  
I’m using a user managed App. The user that created the credentials (client id and password) has admin privilidges.  
I get the following response.  
Unauthorized request. You do not have permission to access this user’s chat messages.

What am I doing wrong?

Thanks  
Al

**Error**  
Unauthorized request. You do not have permission to access this user’s chat messages.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
/chat/users/{userId}/messages

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [July 30, 2020, 3:43pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/2 "2020-07-30T15:43:15Z")

</div>

Hey @aaghili

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout this related thread that may have the answer you are looking for:

> [@Send chat messages via API](https://devforum.zoom.us/t/-/8524):
>
> We are evaluating Zoom against Webex Teams & MS Teams. We need to create incoming webhooks to post messages into chat channels. We have done this in all 3 products using the provided webhook apps (e.g. ‘Incoming Webhook’ app in Zoom Marketplace). Unfortunately, with Zoom, the notifications on messages sent via webhooks do not include any message content, just ‘app - incoming webhook’. So, the notifications aren’t very useful, unlike Webex/MS Teams, which show a preview of the message in the not…

If this thread did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![aaghili](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaghili/32/9710_2.png) [@aaghili](https://devforum.zoom.us/u/aaghili)\
**Post date:** [July 30, 2020, 3:45pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/3 "2020-07-30T15:45:12Z")

</div>

this doesn’t help. I’m having a different issue.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 3, 2020, 9:54pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/4 "2020-08-03T21:54:35Z")

</div>

Hey @aaghili,

Since the Chat message APIs are user level, you can only access the persons messages who has authorized your app.

Has the user you are trying to get their messages installed your app?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![aaghili](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aaghili/32/9710_2.png) [@aaghili](https://devforum.zoom.us/u/aaghili)\
**Post date:** [August 4, 2020, 5:10pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/5 "2020-08-04T17:10:03Z")

</div>

> [@tommy](#):
>
> only access the persons messages who has authorized your app.

ok. So that won’t work for us. Is there a plan to move the chat api to the account level api’s?

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 5, 2020, 9:02pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/6 "2020-08-05T21:02:01Z")

</div>

Hey @aaghili,

Yes, we are planning to release account level chat APIs sometime later this year. (Timing that is subject to change.)

You can stay updated here:

[https://marketplace.zoom.us/docs/changelog](https://marketplace.zoom.us/docs/changelog)

Thanks,  
Tommy

---

<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:** [August 15, 2020, 9:02pm UTC](https://devforum.zoom.us/t/not-authorized-to-see-the-chat-messages/25738/7 "2020-08-15T21:02:04Z")

</div>

Closed on August 15, 2020, 9:02pm UTC

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