# How to create meeting by API and join meeting by Web SDK?

**URL:** <https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705>\
**Category:** API and Webhooks\
**Created:** [June 18, 2020, 12:52pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705 "2020-06-18T12:52:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![developer4](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@developer4](https://devforum.zoom.us/u/developer4)\
**Post date:** [June 18, 2020, 12:52pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/1 "2020-06-18T12:52:00Z")

</div>

Hi there,

I have 2 websites, one is for teacher and the other is for students. In teacher site teacher will grant Zoom access then create meeting by API (POST [https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)). Then in student site, I want to let students join the meeting by Web SDK (run embeded Zoom window in web page), is that possible? And what’s the intended solution?

To join meeting by Web SDK, I am referring to: [https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/start-join-meeting](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/start-join-meeting). But I always get no response when running " ZoomMtg.join()", just seems as blocked. I am sure I was using the right sign, and I found no console errors in browser. What was wrong and what should I do?

Thanks

---

<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:** [June 23, 2020, 6:16pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/2 "2020-06-23T18:16:51Z")

</div>

Hey @developer4,

> [@developer4](#):
>
> But I always get no response when running " ZoomMtg.join()", just seems as blocked.

Can you share your Web SDK code so I can debug?

Make sure you are including the preload web assembly functions:

[https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate#prepare-required-files](https://marketplace.zoom.us/docs/sdk/native-sdks/web/getting-started/integrate#prepare-required-files)

> **[@zoomus/websdk](https://www.npmjs.com/package/@zoomus/websdk#usage)**
>
> Zoom Web SDK. Latest version: 2.18.2, last published: 11 days ago. Start using @zoomus/websdk in your project by running \`npm i @zoomus/websdk\`. There are 4 other projects in the npm registry using @zoomus/websdk.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![developer4](https://avatars.discourse-cdn.com/v4/letter/d/8491ac/32.png) [@developer4](https://devforum.zoom.us/u/developer4)\
**Post date:** [June 25, 2020, 2:40am UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/3 "2020-06-25T02:40:20Z")

</div>

> [@tommy](#):
>
> Tommy

Thanks Tommy!

We have got it working with the online demo ([https://zoom.github.io/sample-app-web/](https://zoom.github.io/sample-app-web/)), so I guess that’s our code problem, we are checking more, will get back to you if we still can’t fix, thanks.

---

<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:** [June 25, 2020, 8:50pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/4 "2020-06-25T20:50:12Z")

</div>

Happy to hear you got it working! 🙂

Yes please let us know if you run into any issues.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![hemant](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@hemant](https://devforum.zoom.us/u/hemant)\
**Post date:** [August 18, 2020, 1:42pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/5 "2020-08-18T13:42:43Z")

</div>

Hello @tommy,

I am trying to integrate the Web SDK of zoom to host and join meeting through our website. I can see that join meeting is working from web sdk if I provide the Meeting ID and Password generated from my Mac Zoom Application, but I am wondering how can I host the meeting through our website as well?

We want Host to Create the meeting and then start the meeting through our website only, is it possible?

We also want that Host to be considered from Application’s Account. We don’t want them to login to their Zoom Account out of the website and then Start the meeting. We want everything to happen in our website and from our Zoom account.

---

<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:** [August 19, 2020, 9:09pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/6 "2020-08-19T21:09:38Z")

</div>

Hey @hemant,

Were you running into a specific issue? You can see our docs here about how to start a meeting with the Web SDK:

> **[Start & Join Meeting/Webinar - Essential Guides - Web - Native SDKs -...](https://marketplace.zoom.us/docs/sdk/native-sdks/web/essential/start-join-meeting)**
>
> Start & Join Meeting / Webinar
> 
> ZoomMtg.init()
> 
> Meetings and Webinars are created in the Web SDK using the ZoomMtg.init() method.
> 
> ZoomMtg.join()
> 
> Once ...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![fayazvar.mobile](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fayazvar.mobile/32/16944_2.png) [@fayazvar.mobile](https://devforum.zoom.us/u/fayazvar.mobile)\
**Post date:** [October 19, 2020, 11:41am UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/7 "2020-10-19T11:41:02Z")

</div>

Hi @tommy,

How to create instant Meeting ID using Web SDK.

Thanks  
Fayaz

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [October 20, 2020, 4:17pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/8 "2020-10-20T16:17:54Z")

</div>

Hey @fayazvar.mobile,

To create an instant Meeting, you will need to first do so via API by passing type 1 for the meeting type:

> **[Create a Meeting - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)**
>
> Create a meeting for a user. This API has a daily rate limit of 100 requests per day. Therefore, only 100 Create a Meeting API requests are permitted wi...

You can then start/join the meeting via the Web SDK. If you have further questions regarding the Web SDK, please post in #web-sdk

Thanks,  
Will

---

<div class="post-metadata">

**Author:** ![fayazvar.mobile](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fayazvar.mobile/32/16944_2.png) [@fayazvar.mobile](https://devforum.zoom.us/u/fayazvar.mobile)\
**Post date:** [October 20, 2020, 4:52pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/9 "2020-10-20T16:52:46Z")

</div>

Hey @will.zoom

I know this but I am not able to create “Access Token” from Angular Code.

Regards,  
Fayaz

---

<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:** [October 20, 2020, 10:49pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/10 "2020-10-20T22:49:34Z")

</div>

Hey @fayazvar.mobile,

Correct, you will need to use the server side to make API requests to get an access token, and call the Zoom APIs. Otherwise, you will run into CORs errors.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [December 7, 2023, 11:04pm UTC](https://devforum.zoom.us/t/how-to-create-meeting-by-api-and-join-meeting-by-web-sdk/21705/11 "2023-12-07T23:04:54Z")

</div>

Closed on December 7, 2023, 11:04pm UTC


