Hello, everyone! I hope you all are doing well. In this blog, I will share and demonstrate how to generate the Zoom meeting url using the Cloud-Functions in the fastest way. This is my very first blog writing about what I have just learned or completed in order to leave it as an example for those who might come later having same requirements or problem as me.
Let's get started
Firstly, you should go and create the Zoom for developer account in (https://marketplace.zoom.us/).
You should see this above image after you signed up successfully. Then, go create the app in the Zoom marketplace for JWT as the following image.
Next, you have to set the expiration time of the JWT token and for me I set it to expire in one year for the token. It might not be a good practice but it's the fastest way to generate the Zoom meeting url.
Now, let's try to call to the endpoint to generate the Zoom meeting url via Postman.
Zoom endpoint: https://api.zoom.us/v2/users/me/meetings
Token: for the token here is the JWT token of the JWT app we just created in the Zoom developer. So, you can just copy and paste it here.
Post Request Body
For the settings of the body request, you can set it to control over the attendees like allowing screen sharing or not ...
Everything here is pretty much the same as in the Postman. In the header of the request, you just have to pass the JWT token there and if the request is successful, the same response will be returned as in the Postman.
You can make it as onCall, onRequest or pubsub is as your need for Firebase Cloud-functions.
I hope it might be helpful and any constructive comments are always welcomed.