Chevron Forward Icon Chevron Forward Icon Chevron Forward Icon Zoom Integration with Firebase Cloud Zoom Integration...

Zoom Integration with Firebase Cloud-functions

Make it fun and easy with the Ling app!

Master Ling

By Master Ling
Updated on December 22, 2021

Table Of Contents

Introduction

Hello, everyone! I hope you all are doing well. In this pandemic, everything goes online now such as online learning, online working, online meeting and these can be happened through the online video conferencing like Google Meet or Zoom. In this blog, I will share and demonstrate how to integrate the Zoom with the Cloud-Functions in the fastest way.

Let’s get started

Firstly, you should go and create the Zoom for developer account in https://marketplace.zoom.us/.

Mdt3Xnm8U8Dlkgrvenay E1640162874524 1

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.

Qd5H8Sd3Yue4Bda2Al81 E1640164136402 2

JSON Web Token (JWT)

N9Depza8Usj61Bgag9U1 E1640164271159 3

After you created successfully, you will be redirected to this scene and try to fill out all the required informations.

Ctzadsdc29V2Wtqhr49O E1640164303605 4

Kgu4Vxngifzvgrr6S5Bl E1640164350862 5

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.

Calling to the Zoom Api endpoint

6

Now, let’s try to call to the endpoint to generate the Zoom meeting url via Postman.
Zoom endpointhttps://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

Elcz4El47R24E0I3Sohh 1 7

For the settings of the body request, you can set it to control over the attendees like allowing screen sharing or not.

Response

8

You will receive this as the response if the post request is successful. And for the join_url is the url which you can spread to the attendee for attending the Zoom meeting.

Making request using Axios

9

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.

Vlf9Hhi08S61N4Ktbpni 10