Zoom Integration With MuleSoft (Using Zoom Connector)

Author: Ashish Singh Chauhan

Zoom Meetings (commonly shortened to Zoom, and stylized as zoom) is a proprietary video telephony software program developed by Zoom Video Communications.

The free plan allows up to 100 concurrent participants, with a 40-minute time restriction. Users have the option to upgrade by subscribing to a paid plan. The highest plan supports up to 1,000 concurrent participants for meetings lasting up to 30 hours.

During the COVID-19 pandemic, there was a major increase in the use of Zoom for remote work, distance education,and online social relations.

The increase led to Zoom being one of the most downloaded mobile app worldwide in 2020 with over 500 million downloads.

Steps Of Integration
Step 1Setting Up Zoom Platform
  1. Visit https://zoom.us/ and Sign in to your Zoom account.
  1. Also in another tab visit https://developers.zoom.us/ and sign in with the same account.
  1. Now Go to Build App → Select OAuth → Create
  1. Give name to app → Check user managed app → Create
  1. Save Client Id and Secret → Add Redirect Url as http://localhost:8081/oauth2callback → Scroll down and in Add allow list paste the same url → Continue
  1. Add short and long description → Fill other details accordingly → In developer information, give a name and email id → Continue.
  1. Leave the next step as it is and hit Continue.
  1. Add Scopes → Add the scopes according to your application needs. For this demo, I added all the scopes. → Continue
  1. You are all done with setting up the zoom platform.
Step 2Integration With MuleSoft
  1. Create a Mule application → Search in exchange → Zoom connector → Finish.
  1. Go to configuration → Add configuration for Zoom connector as follows:

Connection : OAuth Connection Provider.

Consumer Key and Secret: Saved in Step 1 (5th part).

Step 3Zoom Operations
  1. Meetings → Used to get a list of all meetings.

userId: Your zoom account id.

Type: Select Scheduled (default Live)

Run the application → Perform OAuth Dance by hitting http://localhost:8081/authorize in your browser and give permission to zoom.

Create a meeting in the zoom platform.

Hit the request from the postman and you get a response of all the meetings of your zoom account.

  1. Meeting Create: Used to create and schedule a zoom meeting.

Pass the user id (i.e email ID) and payload to the connector.

 Sample payload –

 {

    “agenda”: “Sample meeting setup”,

    “duration”: 1,

    “start_time”: “2022-08-15T18:00:00Z”,

    “topic”: “Scheduling meeting from mule”

}

The postman request look like this →

The new meeting was created in zoom.

  1. Meeting Delete: Used to delete a meeting.

Pass the meeting id to cancel.

The Postman request look like this →

This meeting ID was generated previously.

The zoom portal will look like this →

  1. Meeting invite links create: Creating invite links for meetings.

Meeting id: The ID of meeting for which link to be created.

The post body look like→

{

  “attendees”: [

    {

      “name”: “ABC”

    }

  ],

  “ttl”: 1000

}

The Postman request look like →

This join url will be shared using email to the clients.

TTL → The link will expire after this ttl.

I have included only 4 operations for this demo.

You can explore more operations by referring to the references section.

References
  1. Zoom Api’s: https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#overview
  1. Youtube Link: https://www.youtube.com/watch?v=Ilequ98DKg4&ab_channel=IntegrationGuy
  1. Zoom Connector: https://www.mulesoft.com/exchange/com.mulesoft.connectors/mule4-zoom-connector/

We use cookies on this site to enhance your user experience. For a complete overview of how we use cookies, please see our privacy policy.