-
A way to expose your localhost server so your Chatbot can be installed and tested on the Zoom Client. In this tutorial, I’ve used Ngrok.
-
In your JWT App settings in the Zoom App Marketplace, click on the "Features" page. Turn event subscriptions on and add a new event subscription. Name it Meeting Webhook and add
https://zoom.usas the "Event notification endpoint URL". Click "Add events" and click "Meeting" > "End Meeting". Note the "Verification Token" generated above. -
Clone the repo:
$ git clone https://github.com/tommygaessler/webhook.git -
Navigate to the cloned directory:
$ cd webhook -
Install the dependencies:
$ npm install -
Create your
.envfile for your webhook verification token.$ touch .env -
Paste the following in your
.envfile:verification_token=[verification token found in features page in your app marketplace settings]
Example:
verification_token=7jVtpikLTYO_9WDV91AA -
Run
$ npm startto start the webhook server. -
We need to expose the local server to the internet to accept post requests, I use Ngrok (free) for this.
Once installed, open a new terminal tab and run:
$ ngrok http 4000 -
Copy the ngrok https url displayed in terminal, in your apps Event notification endpoint URL input, remove
https://zoom.usand paste your ngrok https url. Remember to include/webhookpath.Example:
https://e2d5fb925400.ngrok.io/webhook -
Click "Save".
-
Start and end a Zoom meeting. You will see the Meeting Ended Webhook payload logged in terminal.