Zoom is a cloud-based video conferencing platform that can be used for video conferencing meetings, audio conferencing, webinars, meeting recordings, and live chat.
Zoom has become a critical piece of IT infrastructure for many businesses. Having accessible data on the usage, billing, and performance of Zoom as a communications tool will relieve pressure from IT teams who otherwise have to spend time and toil logging in to multiple tools and running reports.
Account ID of the customer is required. Hit an API to get Account Id. You will be able to see the Server-to-Server-OAuth token that is used as a Bearer token to hit the API for getting the Account Id. The bearer token is available in the APP Credentials tab under the installed Server-to-Server-OAuth App in Zoom App Marketplace.
The required API is https://api.zoom.us/v2/users/{userId}. For user-level apps, pass the me value instead of userId parameter. The response of the API contains the account_id of the customer.
The administrator for a Zoom account must enable the view and edit permissions for Server-to-Server OAuth apps.
To do this, the administrator must enable the Server-to-Server OAuth app role. Go to User Management > Roles > Role Settings > Advanced features and select the View and Edit check boxes for Server-to-Server OAuth app.
Steps to Create a Server-to-Server OAuth App
Choose the Server-to-Server OAuth app type under Build App section.
Click Create.
Add a name for your app.
Add the following details to activate your app to enable access for using ZOOM APIs:
App credentials — View your Account ID, Client ID and Client Secret.
Information — Add information about your app, such as a short description and developer contact information (name and email address is required for activation).
Scopes - If you have the role permission to add scopes, add scopes that you would like to enable.
Choose Add Scopes to search for and add scopes:Note: You need to add below permissions to get discovery and monitoring data from the Zoom app:- account:read:admin- dashboard_home:read:admin- dashboard_meetings:read:admin- dashboard_webinars:read:admin- dashboard_zr:read:admin- room:master- room:read:admin- user:master- user:read:admin
Click Activate your app to activate the app.
Your app should be activated. You will not be able to generate an access token to make API calls unless your app is activated. If your app is deactivated, existing tokens will no longer work. You can also choose to Deactivate your app in the section.
To use account credentials to get an access token for your app, call the Zoom OAuth token API with the account_credentialsgrant_type and your account_id:
The successful response will be the access token, which is a Bearer token type that expires in an hour, with the scopes that you chose in your app settings screen:
Go to Setup > Integrations and Apps. If there are already installed apps, it will redirect to the INSTALLED APPS page where all the installed apps are displayed. Click +ADD and search for the App on the Available apps page.
If there are no installed apps, it will navigate to the AVAILABLE APPS page.
Use the search option available to search for the Zoom application. Alternatively, use All Categories dropdown to search. In this case, select Saas Application. All SAAS apps are displayed. Note: The search option is used to search for apps on a page.