# Zoom webhooks are not getting fired in development via ngrok

**URL:** <https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500>\
**Category:** Meetings\
**Created:** [December 19, 2022, 2:14pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500 "2022-12-19T14:14:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoom116](https://avatars.discourse-cdn.com/v4/letter/z/77aa72/32.png) [@zoom116](https://devforum.zoom.us/u/zoom116)\
**Post date:** [December 19, 2022, 2:14pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/1 "2022-12-19T14:14:44Z")

</div>

**Description**

1. The webhook for the meeting start and end events are not being fired to my local system via ngrok.

**Error?**  
No error as message as my server isn’t being hit

**How To Reproduce**

1. create ngrok parser for your localhost
2. set that url in event subscription and try to check if it is being hit

Also it was webhook type app only

Note: While validating the url manually ,I. am getting the request

---

<div class="post-metadata">

**Author:** ![freelancer.nak](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/freelancer.nak/32/40968_2.png) [@freelancer.nak](https://devforum.zoom.us/u/freelancer.nak)\
**Post date:** [December 19, 2022, 6:05pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/2 "2022-12-19T18:05:20Z")

</div>

Please verify that you have added events/webhooks URI also inside the allowed list. For more please watch the webhook session → [here](https://youtu.be/l5TCJT0BRJI).

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [December 19, 2022, 6:08pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/3 "2022-12-19T18:08:34Z")

</div>

Hi,

Have you subscribed to any other events? If yes are you receiving those? Can you send a POST request to your endpoint and make sure you are receiving the events?

---

<div class="post-metadata">

**Author:** ![odynai](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@odynai](https://devforum.zoom.us/u/odynai)\
**Post date:** [June 30, 2023, 6:20pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/4 "2023-06-30T18:20:46Z")

</div>

@ojus.zoom@freelancer.nak I am getting the exact same error, created a simple api that sends back the plain token and encrypted token, tested it out with postman but seems like zoom is not sending the request to my url. I configured it with ngrok and everything is running correctly, but zoom gives out and error without even sending a request.

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [July 6, 2023, 12:03am UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/5 "2023-07-06T00:03:23Z")

</div>

@odynai have you clicked on validate URL first?

---

<div class="post-metadata">

**Author:** ![odynai](https://avatars.discourse-cdn.com/v4/letter/o/3bc359/32.png) [@odynai](https://devforum.zoom.us/u/odynai)\
**Post date:** [July 10, 2023, 5:05pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/6 "2023-07-10T17:05:56Z")

</div>

Yes, I did click on validate url, and it doesn’t validate it correctly using ngrok

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [July 14, 2023, 9:19pm UTC](https://devforum.zoom.us/t/zoom-webhooks-are-not-getting-fired-in-development-via-ngrok/80500/7 "2023-07-14T21:19:28Z")

</div>

Can you confirm that your logic to validate the URL is correct?

Here is an example that works:

```auto
app.post('/webhook', (req, res) => {
  const webhookEvent = req.body.event;
  
  if (webhookEvent === 'endpoint.url_validation') {
    const plainToken = req.body.payload.plainToken;
    const hashedToken = crypto.createHmac('sha256', ZOOM_WEBHOOK_SECRET_TOKEN)
                            .update(plainToken)
                            .digest('hex');
    
    const responseJson = {
      plainToken: plainToken,
      encryptedToken: hashedToken
    };
    
    res.status(200).json(responseJson);
  } else {
    // Handle other webhook events here
    console.log('Received webhook:', req.body);

    // Send a response to acknowledge the webhook
    res.sendStatus(200);
  }
});

```
