# Zoom api meeting creator

**URL:** <https://devforum.zoom.us/t/zoom-api-meeting-creator/41117>\
**Category:** API and Webhooks\
**Created:** [January 20, 2021, 5:22pm UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117 "2021-01-20T17:22:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![emanueljxavier1999](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emanueljxavier1999/32/21731_2.png) [@emanueljxavier1999](https://devforum.zoom.us/u/emanueljxavier1999)\
**Post date:** [January 20, 2021, 5:22pm UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/1 "2021-01-20T17:22:00Z")

</div>

**Description**  
I’m trying to develop a software to create meetings in zoom, but now when I send a post in `/users/${userId}/meetings`, it always return me a array of meetings that I created before.

**Error**  
There is no error, It should return my new meeting but return code 200 and the list of meetings already created

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

**Which Endpoint/s?**  
[http://api.zoom/v2/users/{userId}/meeting](http://api.zoom/v2/users/%7BuserId%7D/meeting)

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL/ POST method / Headers (with a JWT) / Body with the config of the meeting

**Screenshots (If applicable)**

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/0/c/0ca4b9d11cc1bef7132ab07ea9b4c861a89e028b.png)

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 21, 2021, 1:18am UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/2 "2021-01-21T01:18:30Z")

</div>

Hey @emanueljxavier1999,

Thank you for reaching out to the Zoom Developer Forum. It looks like you’re accidentally calling the [List Meetings API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings) which has the same endpoint but uses a GET query instead of a POST. Please make sure that your code is calling the endpoint using a POST method.

I hope that helps! Let me know if you have any questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![emanueljxavier1999](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emanueljxavier1999/32/21731_2.png) [@emanueljxavier1999](https://devforum.zoom.us/u/emanueljxavier1999)\
**Post date:** [January 22, 2021, 8:38pm UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/3 "2021-01-22T20:38:44Z")

</div>

hey @MaxM,  
Thank you for the help, but look in line 110 of the image, I am using a post method

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 25, 2021, 6:52pm UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/4 "2021-01-25T18:52:23Z")

</div>

Hey @emanueljxavier1999,

Thank you for the update. I’m thinking that a GET method is accidentally called somewhere in the code and it’s logged incorrectly. Are you able to share a public git repo with the code you’re using so that I can test this?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![emanueljxavier1999](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emanueljxavier1999/32/21731_2.png) [@emanueljxavier1999](https://devforum.zoom.us/u/emanueljxavier1999)\
**Post date:** [January 26, 2021, 12:38am UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/5 "2021-01-26T00:38:20Z")

</div>

> **[bot-zoom / back-end](https://gitlab.com/bot-zoom/back-end)**
>
> GitLab.com

the code I share in this post is in src/controller/meeting.js, and the file in src/Router/meeting call him.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 26, 2021, 6:29pm UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/6 "2021-01-26T18:29:04Z")

</div>

Hey @emanueljxavier1999,

Thank you for providing your code! That was very helpful. I was able to make a request to the [Create a Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) by making a POST request to `/meeting/create`. When doing so, I saw that the meeting was created without an issue.

However, I saw that when logging `resp.data`, the JSON data is logged to the console _before_ express logs the status of the request.

As an example, we can see that the Create a Meeting response is logged to the console:

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/6/96a6970de09e2c4b3e6810fb1b9e88b136121b32.png)

Then, after the data is logged to the console, express logs the request:

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/0/100d3a153f5efad05aead68874af126a215d5709.png)

I say this because I’m now thinking that the response body you’re seeing logged is actually from a subsequent request to your GET `/meeting/list` endpoint.

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![emanueljxavier1999](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/emanueljxavier1999/32/21731_2.png) [@emanueljxavier1999](https://devforum.zoom.us/u/emanueljxavier1999)\
**Post date:** [January 27, 2021, 11:18am UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/7 "2021-01-27T11:18:33Z")

</div>

I think I get it, I gonna try to figure out what is making this request before express.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [January 28, 2021, 1:44am UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/8 "2021-01-28T01:44:03Z")

</div>

Hey @emanueljxavier1999,

Thank you for the update. That sounds good, let me know if you have any other questions.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 27, 2021, 11:44am UTC](https://devforum.zoom.us/t/zoom-api-meeting-creator/41117/9 "2021-02-27T11:44:22Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
