# Chat webhook events don't include the file attachment message

**URL:** <https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152>\
**Category:** API and Webhooks\
**Created:** [May 18, 2022, 6:00am UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152 "2022-05-18T06:00:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [May 18, 2022, 6:00am UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/1 "2022-05-18T06:00:36Z")

</div>

**Description**  
The message sent event should include attachments message or any file-based message(voice record, video message), I expected there is message events or alternative events coming at least.

**Error**  
Has no Webhook at all, tried to subscribe all Webhook resource

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
Oauth (but use webhook)

**Which Endpoint/s?**  
Events: chat\_message.sent

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

1. Build an account level app and add the root account
2. use any account to create channel and direct to the mock server
3. send message
4. check the mock server log, has an event
5. then send a message with attachment with your message
6. No event detected.
7. [Optional] also do the same attachment with 3rd service like google drive and no event detected.

---

<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:** [May 23, 2022, 8:27pm UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/2 "2022-05-23T20:27:01Z")

</div>

Hi @k-root

Thanks for reaching out to the Zoom Developer Support, I am happy to help here!  
Could you please share with me to what events are you listening to?  
Are you referring to the following event:

> **[Zoom API Events - Chat](https://zoom-developer-doc.zoomapp.cloud/docs/api-reference/chat/events/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Thanks  
Elisa

---

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [May 24, 2022, 3:47am UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/4 "2022-05-24T03:47:27Z")

</div>

Hi @elisa.zoom:

> [@k-root](#):
>
> **Which Endpoint/s?**  
> Events: chat\_message.sent

I’m listening to the events **chat\_message.sent** and not getting any events from the attachments chat message. Is there any alternative events related to the file attachment in the chat?

---

<div class="post-metadata">

**Author:** ![ttt](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ttt/32/37982_2.png) [@ttt](https://devforum.zoom.us/u/ttt)\
**Post date:** [May 25, 2022, 4:33am UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/5 "2022-05-25T04:33:36Z")

</div>

Hi @elisa.zoom ,

I am also experiencing this issue. We receive chat messages according to the chat\_message.sent scope: [Zoom API Events - Chat](https://zoom-developer-doc.zoomapp.cloud/docs/api-reference/chat/events/#/paths/chat_message.sent/post).

However, when a message with an attachment is sent, there is no webhook notification sent from zoom.

Could you assist us with this issue? Thank you!

---

<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:** [May 25, 2022, 3:00pm UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/6 "2022-05-25T15:00:01Z")

</div>

Ah I see!!! @k-root and @ttt  
So as you can see in our Docs, this is by design and the payload from the webhook does not contain the file attachment.  
Feel free to make a feature request here:

> **[Feature Requests](https://devforum.zoom.us/c/feature-requests/23)**
>
> Have an API or SDK feature request? Share it here!

Cheers,  
Elisa

---

<div class="post-metadata">

**Author:** ![k-root](https://avatars.discourse-cdn.com/v4/letter/k/51bf81/32.png) [@k-root](https://devforum.zoom.us/u/k-root)\
**Post date:** [May 26, 2022, 2:18am UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/7 "2022-05-26T02:18:15Z")

</div>

Hi Elisa:

I’m not only asking for the contain file attachment, the issue here is once message with an attachment, the webhook don’t send anything, we expected there are **chat\_message.sent** or some alternative show out at least, even though it lack of attachment information, otherwise users are literally under the radar by chatting with file attachment. This is a potential security issue for us.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/2/1/2140e4dbdb47509476c88c1a9a466239940404d9.png)

---

<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:** [June 25, 2022, 12:18pm UTC](https://devforum.zoom.us/t/chat-webhook-events-dont-include-the-file-attachment-message/69152/8 "2022-06-25T12:18:18Z")

</div>

Closed on June 25, 2022, 12:18pm UTC

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