The Zoom REST API is a set of programmatic interfaces that allow you to create, manage, and automate Zoom meetings and user accounts without using the Zoom client. Most developers mistakenly assume they can use a simple API key for all requests, but Zoom now requires OAuth 2.0 or Server-to-Server OAuth for secure authentication.

Rule of thumb: Use Server-to-Server OAuth for backend automation and OAuth 2.0 for apps that users must authorize.

Authentication Methods

Authentication is the first hurdle when using the Zoom API. You cannot simply send a request to an endpoint; you must provide a valid access token in the header of every call. This token proves your identity and defines what permissions you have to access specific data.

Server-to-Server OAuth

This method is designed for backend integrations where no user interaction is required. It allows your server to communicate directly with Zoom. You create an app in the Zoom App Marketplace, select the Server-to-Server OAuth type, and receive a Client ID and Client Secret. You exchange these credentials for an access token by sending a POST request to the Zoom token endpoint. This token typically expires in one hour, so your code must include a mechanism to request a new token automatically before the old one lapses.

User-Managed OAuth

If you are building a tool that other Zoom users will install, you must use the standard OAuth 2.0 flow. This requires the user to click a "Grant Access" button and manually approve the permissions your app requests. This flow provides a refresh token, which allows your app to maintain access to the user's account for long periods without requiring them to log in every hour. This is the safest method for third-party applications because it ensures the user retains control over their data.

Managing Meetings and Users

The core of the REST API revolves around the /users and /meetings endpoints. Most automation tasks involve creating a meeting, updating its settings, or retrieving a list of past participants. Understanding the hierarchy of these endpoints is essential for successful requests.

Creating a Meeting

To schedule a meeting, you send a POST request to /users/{userId}/meetings. The {userId} can be a specific email address or the keyword "me" if you are authenticated as that user. In the request body, you define the start time in ISO 8601 format, the duration in minutes, and the timezone. For example, setting the duration to 60 minutes ensures the meeting does not cut off early. You can also specify if the meeting should have a waiting room or a passcode, which adds a layer of security to your virtual space.

Updating Meeting Details

If a meeting time changes, you use a PATCH request to the same endpoint used for creation. You only need to send the fields that are changing. If you only need to move the start time, do not send the entire meeting object; send only the start_time field. This prevents accidental overrides of other settings like the meeting password or the recording configuration.

Retrieving Participant Data

After a meeting ends, you can pull a report of who attended using the /report/meetings endpoint. This provides a list of participants, their join times, and their leave times. This data is useful for tracking attendance or calculating total engagement. Note that reports are not available instantly; there is often a short delay between the meeting ending and the data becoming available via the API.

Handling Webhooks and Events

While REST API calls are "pull" requests where you ask Zoom for data, webhooks are "push" notifications where Zoom tells you when something happens. This is critical for real-time automation, such as sending a notification when a meeting starts.

Configuring the Event Subscription

You set up a webhook by defining an event subscription in the App Marketplace. You provide a URL (an endpoint on your own server) that Zoom will send a POST request to whenever a specific event occurs. Common events include meeting.started, meeting.ended, and participant.joined. This removes the need to constantly poll the API to see if a meeting has begun, which saves server resources and prevents you from hitting rate limits.

Validating Webhook Requests

To prevent malicious actors from sending fake data to your server, Zoom uses a validation token. When you first set up the webhook, Zoom sends a challenge request to your URL. Your server must respond by hashing the token with your secret and returning the result. Once validated, Zoom will trust your endpoint. Every subsequent event notification includes a signature in the header that you should verify to ensure the data actually came from Zoom.

Rate Limits and Error Handling

Zoom imposes limits on how many API calls you can make per second and per day. If you exceed these limits, the API will return a 429 Too Many Requests error. Managing these limits is the difference between a stable integration and one that crashes during peak usage.

Managing Request Volume

To avoid rate limits, implement a queuing system or a "retry with exponential backoff" strategy. If you receive a 429 error, your code should wait for a short period—starting with one second, then two, then four—before trying the request again. This prevents your server from hammering the Zoom API and getting your IP address temporarily blocked. For bulk operations, such as updating 500 users at once, space your requests out by a few hundred milliseconds.

Interpreting Error Codes

The API uses standard HTTP status codes to tell you what went wrong. A 400 error usually means your JSON body is malformed or a required field is missing. A 401 error indicates that your access token has expired or is invalid. A 403 error means the authenticated user does not have the necessary permissions (scopes) to perform that action. Always log the response body of an error, as Zoom typically includes a specific error code and a descriptive message that explains exactly which field caused the failure.

Common Implementation Scenarios

Most developers use the API for a few specific patterns. Understanding these patterns helps you structure your database and your API calls more efficiently.

Automatic Meeting Generation

A common use case is linking a calendar app to Zoom. When a user books a slot on a website, your server triggers a POST request to create a Zoom meeting. You then take the join_url from the Zoom response and email it to the client. This eliminates the need for a human to manually create the link and copy-paste it into an email. To ensure the link is clean, you can use the API to set the meeting to "instant" if the booking is for the current hour.

Automated Recording Management

If you record your meetings to the cloud, you can use the API to manage those files. You can retrieve the recording download URL and automatically upload the video to a private archive or a company portal. By using the /class/recording endpoint, you can delete old recordings automatically after 30 days to save storage space. This keeps your Zoom account tidy without requiring manual cleanup.

User Provisioning

For large organizations, adding and removing users manually is inefficient. You can use the /users endpoint to create new accounts for new employees and update their license types (e.g., moving a user from Basic to Pro). When an employee leaves, a single API call can revoke their access and transfer their scheduled meetings to a manager, ensuring no client is left without a meeting link.