# How to retrieve chats from meeting via API

**URL:** <https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030>\
**Category:** API and Webhooks\
**Created:** [October 18, 2021, 2:17pm UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030 "2021-10-18T14:17:34Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rachel1](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rachel1](https://devforum.zoom.us/u/rachel1)\
**Post date:** [October 18, 2021, 2:17pm UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/1 "2021-10-18T14:17:34Z")

</div>

**Description**  
I would like to retrieve the chats associated with a meeting.

I have enabled auto save of all chats, both in settings and in IM settings.  
The chats are being saved and are available for the meeting ID I am using to test, as I can download them using the GUI in tab-delimitted CSV from:  
`https://us06web.zoom.us/recording/detail?meeting_id={meetingId}`

According to the docs, I should be able to download the chat transcript and details by making a request to:  
`/meetings/{meetingId}/recordings?file_type=chat`  
**Docs** : [https://devsupport.zoom.us/hc/en-us/articles/360059617212-Get-In-Meeting-Chat-messages-with-the-API](https://devsupport.zoom.us/hc/en-us/articles/360059617212-Get-In-Meeting-Chat-messages-with-the-API)

However, the docs for that API call don’t show any such options, and it does not seem to work:  
`/meetings/{meetingId}/recordings`  
**Docs** : `https://marketplace.zoom.us/docs/api-reference/zoom-api/cloud-recording/recordingget`

Furthermore, when I make a request to `/meetings/{meetingId}/recordings` I get a JSON object with all of the relevant info, but it does NOT include the chat transcript.

This is true even where I am testing with a recording that has a chat available to download using the GUI.

**Error**  
Am unable to use the API to access chats.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Using CURL with authorization string

**Which Endpoint/s?**  
[https://api.zoom.us/v2/meetings/{meetingId}/recordings](https://api.zoom.us/v2/meetings/%7BmeetingId%7D/recordings)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request `https://api.zoom.us/v2/meetings/{meetingId}/recordings` with a meetingid of a recording that has a chat transcript.
2. See that the chat transcript is not available

---

<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:** [October 20, 2021, 1:12pm UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/2 "2021-10-20T13:12:22Z")

</div>

Hi @rachel1,

Thanks for reaching out about this, and happy to help.

First, I just wanted to confirm—are you looking for the meeting recording’s transcript, or the in-meeting chat messages from the meeting? If it’s the former, this is accessible via the Recording endpoints as long as you meet the prerequisites outlined here:

> **[Using audio transcription for cloud recordings](https://support.zoom.us/hc/en-us/articles/115004794983-Using-audio-transcription-for-cloud-recordings-)**
>
> Audio transcription automatically transcribes the audio of a meeting or webinar that you record to the cloud. After this transcript is processed, it appears as a separate VTT file in the list of re...

Let me know if you can confirm when you have a chance—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![rachel1](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rachel1](https://devforum.zoom.us/u/rachel1)\
**Post date:** [October 24, 2021, 9:08am UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/3 "2021-10-24T09:08:56Z")

</div>

According to the page at: [https://devsupport.zoom.us/hc/en-us/articles/360059617212-Get-In-Meeting-Chat-messages-with-the-API](https://devsupport.zoom.us/hc/en-us/articles/360059617212-Get-In-Meeting-Chat-messages-with-the-API) There is an endpoint to retrieve the in-meeting chat messages. Is this document not updated?

I have been able to retrieve each user’s chats via the endpoints See [here](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessages).

Isn’t it odd that I CAN retrieve each users chat history, but NOT retrieve the same chats over the time of the webinar?

---

<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:** [October 26, 2021, 1:25pm UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/4 "2021-10-26T13:25:15Z")

</div>

Hi @rachel1,

Thanks for the prompt reply, and my apologies—you’re correct that in-meeting Chat should be accessible via the GET Recordings API.

Can I kindly ask that you share the meeting ID and full request URL you’re using with me at [developersupport@zoom.us](mailto:developersupport@zoom.us) so that I can take a closer look?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![rachel1](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rachel1](https://devforum.zoom.us/u/rachel1)\
**Post date:** [November 5, 2021, 9:41am UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/5 "2021-11-05T09:41:51Z")

</div>

I see that now the link to download the chat file is indeed in the response from `/meetings/{meetingId}/recordings` - not sure if that is due to changes, or just that I missed the link last time ??

However, the chat file is in the format

```auto
00:47:53	CTaly: Hi
00:47:56	Witch Hunt:	SUD
00:47:59	Mitch Wildly: Yes

```

Instead of a JSON with all the details, such as I would get from: [/chat/users/{userId}/messages](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessages)

```auto
{
  "date": "2019-09-17",
  "page_size": 10,
  "next_page_token": "",
  "messages": [
    {
      "id": "F3CbafdljsfjkdfgBA7",
      "message": "And you?",
      "sender": "myemail@someemailaddr.com",
      "date_time": "2019-09-17T20:25:21Z",
      "timestamp": 1568751921626
    },
    ...
  ]
}

```

I really need all the extra data, such as the timestamp.  
The chat file which is given does not even have the `messageId` or the `userId`, so I cannot even query to [/chat/users/{userId}/messages/{messageId}](https://marketplace.zoom.us/docs/api-reference/zoom-api/chat-messages/getchatmessage) to get each message individually.

How can I get all the chat details, (which are evidently stored in Zoom), and not just the severely shortened chat file?

---

<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 8, 2021, 11:34am UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/6 "2021-11-08T11:34:44Z")

</div>

Hi @rachel1,

We are working on expanding the detail level of the Chat file that is returned, and this will support JSON in the future. We expect this update to be rolled out in the near future.

For now, however, the Chat file returns all the available data.

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 8, 2021, 9:35pm UTC](https://devforum.zoom.us/t/how-to-retrieve-chats-from-meeting-via-api/59030/7 "2021-12-08T21:35:40Z")

</div>

Closed on December 8, 2021, 9:35pm UTC

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