# Need Date Range Filter for zoom chat messages

**URL:** <https://devforum.zoom.us/t/need-date-range-filter-for-zoom-chat-messages/39605>\
**Category:** API and Webhooks\
**Created:** [January 4, 2021, 5:58am UTC](https://devforum.zoom.us/t/need-date-range-filter-for-zoom-chat-messages/39605 "2021-01-04T05:58:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudcollection1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cloudcollection1/32/20846_2.png) [@cloudcollection1](https://devforum.zoom.us/u/cloudcollection1)\
**Post date:** [January 4, 2021, 5:58am UTC](https://devforum.zoom.us/t/need-date-range-filter-for-zoom-chat-messages/39605/1 "2021-01-04T05:58:23Z")

</div>

Hi,

We are using this API : /chat/users/{userId}/messages  
for fetch the chat messages.

It has a date filter. So every time I need to pass some date.  
Suppose I want data from 1st Jan 2020 to 31st Dec 2020 then I need to do a 365 API call.

**1. Is there any way to pass the date range instead of one date in API?**

**2. Is there any way to identify the 1st date of the channel message?**

We are using OAuth.

Please help us with this as soon as possible because we need to start work on it urgently.  
Thanks & Regards.

---

<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:** [January 4, 2021, 8:39pm UTC](https://devforum.zoom.us/t/need-date-range-filter-for-zoom-chat-messages/39605/2 "2021-01-04T20:39:18Z")

</div>

Hi @cloudcollection1,

Thanks for reaching out about this, and welcome to our Developer Community!

At this time, our [List User Chat Messages](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessages) endpoint does not support a date _range_, though this is a great suggestion. At the moment, you will need to query by individual day. I’m happy to share this feedback, but would also encourage you to submit this as a feature request if you’re so inclined: #feature-requests

In regards to identifying the 1st date of a channel’s messages, the best way to do so would be to check in the Zoom Client. Our API does not currently return this information unless it’s queried directly.

Best,  
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:** [February 4, 2021, 6:39am UTC](https://devforum.zoom.us/t/need-date-range-filter-for-zoom-chat-messages/39605/3 "2021-02-04T06:39:23Z")

</div>

Closed on February 4, 2021, 6:39am UTC

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