# Listen for events on the client app

**URL:** <https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835>\
**Category:** API and Webhooks\
**Created:** [January 18, 2021, 5:32am UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835 "2021-01-18T05:32:36Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 18, 2021, 5:32am UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/1 "2021-01-18T05:32:36Z")

</div>

**Description**  
I am trying to build a desktop application and I need to integrate it with the client app. Right now I have registered a webhook for Recording events but I am not getting anything in the Webhook logs. I want to invoke my Desktop application when the user starts recording on the client app. Is there a way to listen for events like that and if yes what is the best way to do it?

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

---

<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:** [January 19, 2021, 7:29pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/2 "2021-01-19T19:29:49Z")

</div>

Hey @abdulkadir98,

Thanks for reaching out about this. You should be able to receive recording events when a recording is started in the Zoom Client.

If you’re not receiving Zoom webhooks, can you double check that:

- your webhook endpoint is publicly accessible
- it sends a 200OK response upon receipt of payloads (if it turns anything other than 200, it could be silently failing)

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

---

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 19, 2021, 8:58pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/3 "2021-01-19T20:58:06Z")

</div>

Hello @will.zoom,  
Thanks for your reply. I have checked that my endpoint returns 200 OK response and that it is accessible. I subscribed to another event and my endpoint received the request but when there was no request body. The recording events webhook still does not send any notifications.

---

<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:** [January 20, 2021, 5:26pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/4 "2021-01-20T17:26:32Z")

</div>

Hi @abdulkadir98,

Can you share the request or payload you received that didn’t have a request body? Can you also ensure that you’ve installed the app under the same account that your events are occurring under?

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 20, 2021, 5:59pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/5 "2021-01-20T17:59:31Z")

</div>

Hello @will.zoom,  
I am attaching a screenshot of my application logs where I am logging the payload but I’m getting undefined as the value. I have ensured that it’s the same account where I have installed the app

 ![Screen Shot 2021-01-20 at 11.26.38 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/c/f/cf7bcd84123b1244a15c20d9fa7fe768f90378eb.png)

Thanks for an early response!

---

<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:** [January 21, 2021, 1:31am UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/6 "2021-01-21T01:31:38Z")

</div>

Hey @abdulkadir98,

Thank you for providing additional information. Would you also be able to share the line of code where you print `Got Body: ${value}`? I just want to make sure that the payload is being accessed as expected before we go down other routes of troubleshooting.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 21, 2021, 5:18am UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/7 "2021-01-21T05:18:16Z")

</div>

Hello @MaxM,  
Appreciate you looking into it. This is the code for testing the endpoint provided for the recording webhook

 ![Screen Shot 2021-01-21 at 10.46.48 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/e/6efc101b350fc4c824ad061cd054228353af5927.png)

---

<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:** [January 21, 2021, 11:21pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/8 "2021-01-21T23:21:35Z")

</div>

Hey @abdulkadir98,

Thank you for providing that code snippet. When looking into this, I saw that there is some Express configuration required before parsing JSON. Please take a look at the following links and let me know if that’s helpful.

> <https://stackoverflow.com/questions/9177049/express-js-req-body-undefined>

> **[How to fix the Express req.body undefined error](https://reactgo.com/express-req-body-undefined/)**
>
> In this tutorial, we will learn how to fix the req.body undefined error in express. Consider, we have a route in our express app. Now, if…

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 22, 2021, 6:21pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/9 "2021-01-22T18:21:10Z")

</div>

Thanks! That worked. I now receive payloads for ‘meeting started’ and ‘meeting ended’ events but still do not receive any notifications for ‘recording events’ which is really the only event I care about.

---

<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:** [January 25, 2021, 6:50pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/10 "2021-01-25T18:50:29Z")

</div>

Hey @abdulkadir98,

Thank you for the update. I’m glad to hear that was at least partially helpful. It’s important to note that the Cloud Recording features require a [Pro Plan](https://zoom.us/pricing) or higher.

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

Please make sure that you meet the prerequisites listed in [our documentation](https://marketplace.zoom.us/docs/api-reference/webhook-reference/recording-events/recording-started)

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![abdulkadir98](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abdulkadir98/32/17046_2.png) [@abdulkadir98](https://devforum.zoom.us/u/abdulkadir98)\
**Post date:** [January 26, 2021, 2:11pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/11 "2021-01-26T14:11:13Z")

</div>

I see, I must have missed that when I was going through the docs. Thanks very much!

---

<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:** [January 26, 2021, 10:50pm UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/12 "2021-01-26T22:50:06Z")

</div>

Hey @abdulkadir98,

I’m glad to hear that resolved your issues! If you encounter any further issues or questions, please don’t hesitate to reach out.

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:** [February 26, 2021, 8:50am UTC](https://devforum.zoom.us/t/listen-for-events-on-the-client-app/40835/13 "2021-02-26T08:50:25Z")

</div>

Closed on February 26, 2021, 8:50am UTC

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