viglob
(Support)
March 13, 2020, 2:35pm
1
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.
tommy
(Tommy Gaessler)
March 13, 2020, 5:45pm
2
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!
Thanks,
Tommy
viglob
(Support)
March 13, 2020, 6:25pm
3
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
tommy
(Tommy Gaessler)
March 13, 2020, 6:53pm
4
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
viglob
(Support)
March 13, 2020, 7:34pm
5
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
tommy
(Tommy Gaessler)
March 13, 2020, 9:30pm
6
Hey @viglob , nice job!
Yes, you can automatically generate the JWT. Check out our docs on how to do that.
Thanks,
Tommy