# Event webhook for chat messages not being received for OAuth PHP application

**URL:** <https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551>\
**Category:** API and Webhooks\
**Created:** [March 25, 2021, 7:34am UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551 "2021-03-25T07:34:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nscripta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nscripta/32/24846_2.png) [@nscripta](https://devforum.zoom.us/u/nscripta)\
**Post date:** [March 25, 2021, 7:34am UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551/1 "2021-03-25T07:34:47Z")

</div>

**Description**  
I have successfully created a working OAuth application using PHP running on a Synology NAS by using the code examples on this well presented page:

[[https://artisansweb.net/how-to-create-a-meeting-on-zoom-using-zoom-api-and-php/](https://artisansweb.net/how-to-create-a-meeting-on-zoom-using-zoom-api-and-php/)]

I can request the token, get authorised and store the received token in an mysql database.

**Error**  
I am not receiving any error however I have added the event webhooks for the chat messages to the OAuth app but have never received any notification.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
The endpoint is a PHP script running on a Synology NAS.

**Additional context**  
In testing the notification I created a new meeting using the iPad app, which I also joined with an iPhone. Would this have sufficient to generate the notification when a new message was created?

I am only an amateur programmer so it’s testament to the ease of use of the Zoom development system I have achieved the initial functionality with relative ease. The end aim is to carry out specific actions by detecting trigger words in the message stream.

Stuart

---

<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:** [March 25, 2021, 5:16pm UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551/2 "2021-03-25T17:16:13Z")

</div>

Hey @nscripta,

Good question, happy to clarify.

To that end, when you say that you tested this by creating a new meeting, I think this may be part of the issue. To clarify, are you looking to receive events for in-meeting Chat? I should note that we don’t currently support this. Rather, the Chat Message webhooks are for the main Zoom Client chat, which is different than the in-meeting chat. These will only be triggered if you’re chatting within the Zoom Client:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/f/b/fbfd9bddc1e4a7d65cbd98e1a61e8594e1fd7750.jpeg)

Let me know if this helps to clarify!  
Will

---

<div class="post-metadata">

**Author:** ![nscripta](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nscripta/32/24846_2.png) [@nscripta](https://devforum.zoom.us/u/nscripta)\
**Post date:** [March 25, 2021, 6:22pm UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551/3 "2021-03-25T18:22:33Z")

</div>

Thanks for your response, it has clarified the chat webhook and explains exactly why it didn’t work. I did add a seperate webhook app for meeting start and did successfully receive it. Looks like I will need to hope it’s added in a future update or investigate an alternative method of capturing the data.

Stuart

---

<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:** [March 25, 2021, 7:13pm UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551/4 "2021-03-25T19:13:27Z")

</div>

Hi @nscripta,

Thanks for confirming, glad I could help clarify. 🙂

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:** [April 25, 2021, 5:14am UTC](https://devforum.zoom.us/t/event-webhook-for-chat-messages-not-being-received-for-oauth-php-application/46551/5 "2021-04-25T05:14:02Z")

</div>

Closed on April 25, 2021, 5:14am UTC

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