# Retrieve all messages in a group chat via webhook

**URL:** <https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277>\
**Category:** API and Webhooks\
**Created:** [November 17, 2020, 5:10pm UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277 "2020-11-17T17:10:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![dsharp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsharp/32/18903_2.png) [@dsharp](https://devforum.zoom.us/u/dsharp)\
**Post date:** [November 17, 2020, 5:10pm UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277/1 "2020-11-17T17:10:20Z")

</div>

**Description**  
I would like to subscribe to new posts in a specific group chat, but this doesn’t seem possible

**Error**  
I can’t find a way to automatically collect the new messages posted to a group chat. Neither can I find a way to access all messages via an API call.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
I will use whatever will achieve my desired results.

**Which Endpoint/s?**  
I don’t know which to use…

**Additional context**  
I am trying to find a way to extract the daily posts in an activities channel for additional analysis. Ideally, it would happen automatically via webhook, but I am open to running a script on a timer to extract the log every day.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 18, 2020, 8:54pm UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277/2 "2020-11-18T20:54:55Z")

</div>

Hey @dsharp,

Great question—Currently, I’m afraid you can only get Chat messages on a per user basis for chats sent in channels or direct messages:

> **[List User's Chat Messages - Chat Messages - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessages)**
>
> A Zoom user can have conversations with other Zoom users via chat. Use this API to list the current user's chat messages between the user and an individ...

Account level Chat APIs/webhooks are on our roadmap, though—Stay updated here:

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

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![dsharp](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dsharp/32/18903_2.png) [@dsharp](https://devforum.zoom.us/u/dsharp)\
**Post date:** [November 19, 2020, 3:28pm UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277/3 "2020-11-19T15:28:32Z")

</div>

Thanks @will.zoom.

Looking at the link, it appears that the API will return all messages posted to a channel - if the user belongs to the channel - regardless of who actually posted the message for the selected date. Is that correct?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [November 20, 2020, 9:41pm UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277/4 "2020-11-20T21:41:02Z")

</div>

Hey @dsharp,

This will not return the entire channel’s messages, just the user’s.

Thanks,  
Will

---

<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:** [December 21, 2020, 7:41am UTC](https://devforum.zoom.us/t/retrieve-all-messages-in-a-group-chat-via-webhook/36277/5 "2020-12-21T07:41:03Z")

</div>

Closed on December 21, 2020, 7:41am UTC

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