Create Webinar from my website

Description
Hi, I want to integrate Zoom in our events module on our website. I want to be able to create the webinar when I create an event and I want to subscribe people when they subscribe to my event. I’m kind of lost in the documentation and I’m not sure where to start.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth or JWT

Additional context
We develop in PHP and Javascript.

Thanks in advance.

Hey @viglob,

Depending on your use case, you can authenticate via OAuth, or JWT.

To Create a Webinar, use this endpoint:

https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate

To subscribe people, use this endpoint:

https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate

Let me know if that helps! :slight_smile:

Thanks,
Tommy

Hi @tommy,

Thank you for the fast response.

I’ve tried this example on Github with JWT
https://github.com/zoom/zoom-api-jwt
but I can’t seem to make it work.

Is there examples that run the application from a server or even better, do you know any examples in PHP.

Thanks,
Claude

Hey @viglob,

You can see examples in PHP on the each endpoint page:

You can generate a test JWT Token from your JWT app, and pass that in as the authorization bearer:

"Authorization": "Bearer JWT_TOKEN"

Let me know if that helps!

Thanks,
Tommy

Hey @tommy,

I’ve sucessfully created a meeting via my website.

I’ve hardcoded the JWT_TOKEN, but I see it has an expiration time, is there a way to automatically get a new one in my code ?

Thanks,
Claude

1 Like

Hey @viglob, nice job!

Yes, you can automatically generate the JWT. Check out our docs on how to do that.

Thanks,
Tommy