Integrating Zoom with your Mendix app
In this blog, I will show you how to integrate zoom with any Mendix app using the ZOOM API. Zoom’s API allows developers to request information from Zoom, as well as perform actions on their platform on a user’s behalf.
All APIs under Zoom’s API are accessed via HTTPS at specified URLs. The base URL for all requests is https://api.zoom.us/v2 and the complete URL varies depending on the endpoint of the resource being accessed.
Start building today
If you don’t yet have a Zoom account, create one by clicking the ‘Sign Up’ link here: https://marketplace.zoom.us. Once you activate your account, you’ll be ready to join as a Developer account.
- To Start building an app click the build app button.
A JSON Web Token (JWT) lets you create tokens that provide secure data transmission using a compact JSON object.
To do this, register a JWT in the Zoom App Marketplace. Use the token generated from the JWT app and start making API requests to the Zoom APIs.
- Choose the JWT app type and enter details in the information tab.
- Click next → Copy the JWT token for authorization (i.e.generated based on API key and API secret key)
3. Click continue and then click activate your app.
In Studio Pro
Create a new project and create a configuration entity and overview pages to store the jwt token as authorization to use zoom API
- Create an entity called Meeting with the following attributes :
2. Then create or generate overview pages to store meeting details. For Creating the meeting use the https://api.zoom.us/v2/users/me/meetings API.
3. Create a string variable called body to pass into the rest call.
4. Your General tab in rest call activity looks like this:
5. Pass the Stored JWT Token from the configuration as the authorization token in the HTTP headers tab to post the request to Zoom’s API.
6. Pass the created body variable in the request body. Now call this microflow in the save meeting button.
7. Add this to your app’s navigation and run the app locally, in order to configure the JWT token (Taken from the Zoom JWT app)
8. Create the meeting by entering the required details and then save the meeting.
If you have done everything correctly up to this point, the meeting will be created in your zoom app based on provided details entered in your Mendix app.
1. To List all the meetings that were scheduled for a user use the following API.
2. Configure the General Tab as shown below
3. Configure HTTP Headers Tab by passing the JWT token as Authorization.
4. Create a JSON structure as shown below.
5. Then create an Import Mapping as shown below, using the JSON Structure created previously.
5. Retrieve and map the response to the meeting entity.
6 . Add this to the navigation and run the app locally and click retrieve meeting and the request will be sent to the API and the user’s meeting’s will be retrieved successfully.
7 . You can see the Start time, duration, joinURL, and password, etc…for all the meetings.
You can also add invitees to the meeting by using the following API.
To use the Invites API, the Zoom app will need to be licensed.
As a work around, you can also send the meeting invite url and password to the attendee’s mail using the Mendix email module.
Going ahead, you can expect a public module in the Mendix Market Place on this implementation.
Until then have fun trying it out! Stay safe! Happy coding!
Introduction - API Reference
The Zoom API is the primary means for developers to access a collection of resources from Zoom. Apps can read and write…
From the Publisher -