# Use zoom API to create meeting issue

**URL:** <https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308>\
**Category:** API and Webhooks\
**Created:** [April 9, 2020, 6:11am UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308 "2020-04-09T06:11:00Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![terry](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@terry](https://devforum.zoom.us/u/terry)\
**Post date:** [April 9, 2020, 6:11am UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/1 "2020-04-09T06:11:00Z")

</div>

**Description**  
request parameter type=2 ( scheduled), but response instant ?  
response code: 201

request parameter type=1 ( instant), but response nothing meeting created ?  
response code: 201

**Error**  
no error

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

**Which Endpoint/s?**  
v2/users/xxx/meetings

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

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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:** [April 10, 2020, 12:38am UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/2 "2020-04-10T00:38:29Z")

</div>

Hey @terry,

Can you please share your request URL, request body, and response body so I can investigate?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![terry](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@terry](https://devforum.zoom.us/u/terry)\
**Post date:** [April 10, 2020, 5:45am UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/3 "2020-04-10T05:45:17Z")

</div>

## Hi, tommy

## Today 05:30 PM { endpoint: “/api.zoom.us/v2/users/zoom01@mydomain/meetings”, response\_headers: [“Set-Cookie: zm\_aid=”"; [Domain=.zoom.us](http://Domain=.zoom.us); Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly" ], date\_time: “2020-04-10 13:30:55”, method: “POST”, request\_body: “{“topic”:“test”,“type”:2,“start\_time”:“2020/04/14T13:31:00”,“duration”:180,“timezone”:“Asia/Taipei”,“password”:“156700”,“agenda”:”",“settings”:{“host\_video”:false,“participant\_video”:false,“cn\_meeting”:false,“in\_meeting”:false,“join\_before\_host”:true,“mute\_upon\_entry”:true,“watermark”:false,“use\_pmi”:false,“approval\_type”:2,“registration\_type”:1,“audio”:“both”,“auto\_recording”:“none”,“enforce\_login”:false,“enforce\_login\_domains”:false,“alternative\_hosts”:"",“global\_dial\_in\_countries”:[""],“registrants\_email\_notification”:false}}", response: “{“uuid”:“JkZubVoMT2mi5c4yIHJMhQ==”,“id”:303035329,“host\_id”:“0uGaufs1RWqKCyd99J7GQA”,“topic”:“test”,“type”:2,“status”:“waiting”,“start\_time”:“2020-04-10T05:30:54Z”,“duration”:180,“timezone”:“Asia/Taipei”,“created\_at”:“2020-04-10T05:30:54Z”,“start\_url”:”/nccu.zoom.us/s/303035329?zak=eyJ6bV9za20iOiJ6bV9vMm0iLCJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOiJjbGllbnQiLCJ1aWQiOiIwdUdhdWZzMVJXcUtDeWQ5OUo3R1FBIiwiaXNzIjoid2ViIiwic3R5IjoxLCJ3Y2QiOiJhdzEiLCJjbHQiOjAsInN0ayI6Ik1IdTlzNHlYOFdDTXkxekNTblJ5azZBSS0zVTVybWJxdG8zQkxoRTNZNjAuRWdJQUFBRnhZcEhQQUFBQUhDQWdjakZPU2xFemJVZG5hbUV4TVM4dlluVnljV3hCVjFJMFR6bHZjREZUY2pNQURETkRRa0YxYjJsWlV6TnpQUU5oZHpFIiwiZXhwIjoxNTg2NTAzODU1LCJpYXQiOjE1ODY0OTY2NTUsImFpZCI6IkxBS1lLYmhIUUFDSTJkdkUzaEstS2ciLCJjaWQiOiIifQ.SrQDz70zn4NznrrqgEn4q5QpN9k0s-7gcWL4oDoJJ6I",“join\_url”:"/nccu.zoom.us/j/303035329?pwd=K0w4Y2xwNldNWWJKTGVXRFZKbnhJUT09",“password”:“156700”,“h323\_password”:“156700”,“pstn\_password”:“156700”,“encrypted\_password”:“K0w4Y2xwNldNWWJKTGVXRFZKbnhJUT09”,“settings”:{“hos …”, request\_headers: [“accept: application/json”, “authorization: \*\*\*\*\*\*”, “connection: close”, “content-type: application/json”, “user-agent: GuzzleHttp/6.3.3 curl/7.29.0 PHP/7.2.28”], request\_params: [], http\_status: “201” }

see above:  
request : “type”:2,“start\_time”:“2020/04/14T13:31:00” // request scheduled meeting  
response: “test”,“type”:2,“status”:“waiting”,“start\_time”:“2020-04-10T05:30:54Z”

2020-04-10T05:30:54 is request time, so response instant meeting, not scheduled meeting

Thanks you !

ps. url https , i comment it

---

<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:** [April 10, 2020, 8:54pm UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/4 "2020-04-10T20:54:27Z")

</div>

Hey @terry,

I think the issue is you are not passing in the start\_time correctly.

Please try using the following format:

`YYYY:MM:DDTHH:MM:SSZ`

Instead of `2020/04/14T13:31:00` try `2020-04-14T13:31:00`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![terry](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@terry](https://devforum.zoom.us/u/terry)\
**Post date:** [April 11, 2020, 1:52pm UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/5 "2020-04-11T13:52:50Z")

</div>

I am stupid…  
Thanks very very very much!!!

---

<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:** [April 13, 2020, 7:48pm UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/6 "2020-04-13T19:48:47Z")

</div>

Common mistake! 🙂

Let us know if you have additional questions!

-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, 8:25pm UTC](https://devforum.zoom.us/t/use-zoom-api-to-create-meeting-issue/12308/7 "2020-08-21T20:25:14Z")

</div>

Closed on August 21, 2020, 8:25pm UTC


