# Real time saving chat in Database

**URL:** <https://devforum.zoom.us/t/real-time-saving-chat-in-database/38466>\
**Category:** API and Webhooks\
**Created:** [December 15, 2020, 6:24pm UTC](https://devforum.zoom.us/t/real-time-saving-chat-in-database/38466 "2020-12-15T18:24:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![slim.ouadahi](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/slim.ouadahi/32/74889_2.png) [@slim.ouadahi](https://devforum.zoom.us/u/slim.ouadahi)\
**Post date:** [December 15, 2020, 6:24pm UTC](https://devforum.zoom.us/t/real-time-saving-chat-in-database/38466/1 "2020-12-15T18:24:12Z")

</div>

I want to save every incoming message in CHAT or Q&A in our SQL database

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [December 16, 2020, 7:08pm UTC](https://devforum.zoom.us/t/real-time-saving-chat-in-database/38466/2 "2020-12-16T19:08:53Z")

</div>

Hey @slim.ouadahi,

Thank you for reaching out to the Zoom Developer Forum. If you’re looking to capture messages, I recommend using the [List User’s Chat Messages API](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessages) for each user that you would like to retain messages for. You can then insert the data returned into your SQL DB as needed.

Let me know if you have any questions.

Thanks,  
Max

---

<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:** [January 16, 2021, 5:08am UTC](https://devforum.zoom.us/t/real-time-saving-chat-in-database/38466/3 "2021-01-16T05:08:54Z")

</div>

Closed on January 16, 2021, 5:08am UTC

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