# Create Webinar from my website

**URL:** <https://devforum.zoom.us/t/create-webinar-from-my-website/8623>\
**Category:** API and Webhooks\
**Created:** [March 13, 2020, 2:35pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623 "2020-03-13T14:35:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![viglob](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viglob/32/3540_2.png) [@viglob](https://devforum.zoom.us/u/viglob)\
**Post date:** [March 13, 2020, 2:35pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/1 "2020-03-13T14:35:28Z")

</div>

**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.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 13, 2020, 5:45pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/2 "2020-03-13T17:45:13Z")

</div>

Hey @viglob,

Depending on your use case, you can authenticate via [OAuth](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom), or [JWT](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom).

To Create a Webinar, use this endpoint:

[https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate](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](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantcreate)

Let me know if that helps! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![viglob](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viglob/32/3540_2.png) [@viglob](https://devforum.zoom.us/u/viglob)\
**Post date:** [March 13, 2020, 6:25pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/3 "2020-03-13T18:25:33Z")

</div>

Hi @tommy,

Thank you for the fast response.

I’ve tried this example on Github with JWT  
[https://github.com/zoom/zoom-api-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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 13, 2020, 6:53pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/4 "2020-03-13T18:53:21Z")

</div>

Hey @viglob,

You can see examples in PHP on the [each endpoint page](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarcreate):

 ![Screen Shot 2020-03-13 at 12.49.38 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/2/215b5522c94e37c0c21991853dfda8b4dd290709.png)

You can [generate a test JWT Token](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom#jwt-for-testing) from your JWT app, and pass that in as the authorization bearer:

 ![Screen Shot 2020-03-13 at 12.51.52 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/4e2e3878d1facaa0fa875ebec8b30cb60d6b7947.png)

`"Authorization": "Bearer JWT_TOKEN"`

Let me know if that helps!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![viglob](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viglob/32/3540_2.png) [@viglob](https://devforum.zoom.us/u/viglob)\
**Post date:** [March 13, 2020, 7:34pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/5 "2020-03-13T19:34:14Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 13, 2020, 9:30pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/6 "2020-03-13T21:30:11Z")

</div>

Hey @viglob, nice job!

Yes, you can automatically generate the JWT. [Check out our docs on how to do that.](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom#generate-with-jwtio)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:31pm UTC](https://devforum.zoom.us/t/create-webinar-from-my-website/8623/7 "2020-08-21T19:31:11Z")

</div>


