Whether you’ve integrated Zoom meetings into your Python app or just planning to do so, Zoom says it’s deprecating JWT apps on September 1, 2023. You’ll have to switch to the OAuth or server-to-server OAuth option to avoid service downtime.

The OAuth option requires your users to authenticate your website via their Zoom account. But if you’re only generating Zoom meeting links without necessarily requesting users' permission, the server-to-server OAuth option is your ideal choice.

4

So how can you achieve this with Python?

Create a Zoom Server-to-Server OAuth App

To begin, head over to theZoom Marketplaceto build a new app:

Once done with the previous steps, you can generate meeting links on the go using the Zoom API. Below is the complete code for doing so.

The code first sends a request to Zoom’s token URL for an authorization token. Passing this down via the headers to Zoom’s API, it returns a response containing the meeting detail specified in the payload. The meetingstart_timesent with the payload must be in ISO 8601 format. We’ve formatted thisusing Python’s string operation.

Python code with hand holding mobile phone

For example, you can call the function to schedule a meeting for August 23, 2023, at 6:24 PM as follows:

The API returns a JSON containing plenty of information, including the meeting link, password, and ID, among many other details. You can printresponse_dataand extract what you need, as done in the above code.

Zoom marketplace

For instance, our request output looks like this:

Integrate Zoom Meeting Into Your App

Although our demonstration doesn’t include integrating into your website or API, whether building with Django, Flask, FastAPI, or any other Python framework, you can easily plug the code into your codebase.

And if building an API, you can convert it into an endpoint usable by any client. You can even borrow this idea for a website built using other languages besides Python. For example, the steps for creating a server-to-server OAuth app are generic.

App name modal popup

So, you want to build an API, but where should you start? Try these frameworks on for size.

These films will leave you questioning humanity, but also wanting more.

App Credentials dashboard

Not all true crime is about hacking, slashing, and gore.

check that you don’t miss these movies and shows before Netflix removes them.

Freeing up vital memory on Windows only takes a moment, and your computer will feel much faster once you’re done.

You can block out the constant surveillance and restore your privacy with a few quick changes.

Technology Explained

PC & Mobile