# Could not create meeting using post api using angularjs

**URL:** <https://devforum.zoom.us/t/could-not-create-meeting-using-post-api-using-angularjs/1377>\
**Category:** Web\
**Created:** [June 12, 2018, 4:36am UTC](https://devforum.zoom.us/t/could-not-create-meeting-using-post-api-using-angularjs/1377 "2018-06-12T04:36:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Danapur](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Ravi\_Danapur](https://devforum.zoom.us/u/Ravi_Danapur)\
**Post date:** [June 12, 2018, 4:36am UTC](https://devforum.zoom.us/t/could-not-create-meeting-using-post-api-using-angularjs/1377/1 "2018-06-12T04:36:06Z")

</div>

I have tried to call the Rest API post request to create a meeting but it is giving the following error:

&nbsp;

Failed to load [https://api.zoom.us/v2/users/{userid}/meetings?d=[object%20Object]:](https://api.zoom.us/v2/users/%7Buserid%7D/meetings?d=%5Bobject%20Object%5D:) Response to preflight request doesn’t pass access control check: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘[https://localhost:8443](https://localhost:8443)’ is therefore not allowed access. The response had HTTP status code 403

For user id I used email registered email id.

So local host is not allowed?

&nbsp;

Fast response is appriciated. Also if you could give some working example on creating simple meeting along with how can start meeting inside my app (Webrtc).

&nbsp;

Thanks,

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [June 13, 2018, 4:40pm UTC](https://devforum.zoom.us/t/could-not-create-meeting-using-post-api-using-angularjs/1377/2 "2018-06-13T16:40:36Z")

</div>

Hi Ravi.&nbsp;

Correct, localhost is not allowed. If you look here&nbsp; [https://zoom.github.io/api/#introduction](https://zoom.github.io/api/#introduction) you will see that it is stated “Our API is a server side implementation designed around REST, it does not support cross-origin resource sharing or access via a client side web application.”

Here is a sample web app to get started -&nbsp;[https://github.com/zoom/sample-app-web.&nbsp;](https://github.com/zoom/sample-app-web.%C2%A0)

Thanks

Michael

---

<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, 5:49pm UTC](https://devforum.zoom.us/t/could-not-create-meeting-using-post-api-using-angularjs/1377/3 "2020-08-21T17:49:03Z")

</div>


