# Unable to retrieve complete message history with /v2/chat/users/{from\_user\_id}/messages

**URL:** <https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863>\
**Category:** Chat\
**Tags:** api\
**Created:** [April 2, 2025, 8:42pm UTC](https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863 "2025-04-02T20:42:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank5](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frank5/32/68323_2.png) [@Frank5](https://devforum.zoom.us/u/Frank5)\
**Post date:** [April 2, 2025, 8:42pm UTC](https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863/1 "2025-04-02T20:42:45Z")

</div>

I am trying to allow download of a user’s entire chat history for compliance purposes.

Using the **/v2/chat/users/{from\_user\_id}/messages** API only allows me to retrieve about the last two years. There’s no mention of a time limit in the API docs and I have set the **from** and **to** parameters to easily cover the entire message history. The history I do receive is completely comprehensive, as far as my checking goes, with no time outs or rate limit messages, so am I missing something?

Thanks

---

<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 4, 2025, 3:15pm UTC](https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863/2 "2025-04-04T15:15:51Z")

</div>

Hi @Frank5  
Thanks for reaching out and welcome to our Zoom Developer Forum!  
Let me ask internally if there is a limit for this endpoint

---

<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 8, 2025, 1:21pm UTC](https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863/3 "2025-04-08T13:21:22Z")

</div>

Hey @Frank5  
Would you be able to share a tracking ID from the request you are making and only getting data back from the last 2 years?  
Can you check how long the cloud storage setting is for chat messages?

Web admin page: Account Management =\> Account Settings =\> Team Chat =\> Set data residency and retention period for messages and files

---

<div class="post-metadata">

**Author:** ![Frank5](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/frank5/32/68323_2.png) [@Frank5](https://devforum.zoom.us/u/Frank5)\
**Post date:** [April 8, 2025, 7:16pm UTC](https://devforum.zoom.us/t/unable-to-retrieve-complete-message-history-with-v2-chat-users-from-user-id-messages/130863/4 "2025-04-08T19:16:00Z")

</div>

Hey Lisa,

Ah, now that is interesting: Direct and group = 3 years; Channels = 2 years

Darn. So users are showing me whatever is cached locally and they would never be accessible from the API? Ok, if that IS the case, is there a way of them saving their messages without:

1. Scroll to the top of the chat window
2. View more messages…
3. Scroll to the top of the chat window
4. View more messages…
5. (Until you reach the first)
6. Select All
7. Copy

?

Thanks for your help. I think what we have available might suffice but if there was a way…

Frank
