# Create meeting API returning blank response with 200 ok

**URL:** <https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510>\
**Category:** API and Webhooks\
**Created:** [January 11, 2022, 2:17pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510 "2022-01-11T14:17:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![keri.anderson97](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/keri.anderson97/32/33993_2.png) [@keri.anderson97](https://devforum.zoom.us/u/keri.anderson97)\
**Post date:** [January 11, 2022, 2:17pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/1 "2022-01-11T14:17:01Z")

</div>

Description -  
I am trying to create a meeting using Zoom API using JWT bearer token in PHP cURL. But I am receiving blank response with 200 ok or success.

Error -  
Getting blank response.

App Type -  
JWT

Endpoint -  
/v2/users/{userId}/meetings

Sample Code -

```auto
<?php  
  $curl = curl_init();
  
  curl_setopt_array($curl, array(
    CURLOPT_URL => "https://api.zoom.us/v2/users/fScWFGYqS2igAJilSapGcg/meetings",
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_ENCODING => "",
    CURLOPT_MAXREDIRS => 10,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
    CURLOPT_CUSTOMREQUEST => "POST",
    CURLOPT_POSTFIELDS => "{\"topic\" => \"Let's learn Laravel\", \"type\" => 2, \"start_time\" => \"2022-01-23T20:30:00\", \"duration\" => \"30\", \"password\" => \"123456\"}",
    CURLOPT_HTTPHEADER => array(
      "authorization: Bearer ",
      "content-type: application/json"
    ),
  ));
  
  $response = curl_exec($curl);
  $err = curl_error($curl);
  
  curl_close($curl);
  
  if ($err) {
    echo "cURL Error #:" . $err;
  } else {
    echo "<pre>Response - ";print_r(json_decode($response));
  }

```

---

<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:** [January 11, 2022, 9:27pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/2 "2022-01-11T21:27:28Z")

</div>

Hi @keri.anderson97

Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!  
Have you tried passing the word “me” instead of the userId and test it?

Best,  
Elisa

---

<div class="post-metadata">

**Author:** ![keri.anderson97](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/keri.anderson97/32/33993_2.png) [@keri.anderson97](https://devforum.zoom.us/u/keri.anderson97)\
**Post date:** [January 12, 2022, 6:45am UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/3 "2022-01-12T06:45:03Z")

</div>

Hi @elisa.zoom

Yes I have tried using “me” in place of userId but it still returned blank response with 200 ok.

---

<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:** [January 12, 2022, 4:56pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/4 "2022-01-12T16:56:33Z")

</div>

Hi @keri.anderson97

Could you please send me the sample code that you shared with me via email (including the Bearer token with I edited and deleted for security reasons from your last post) and including a link to this thread to [developersupport@zoom.us](mailto:developersupport@zoom.us)

I will be debugging this issue further  
Best,  
Elisa

---

<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:** [January 18, 2022, 9:38pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/5 "2022-01-18T21:38:41Z")

</div>

Thanks @keri.anderson97

---

<div class="post-metadata">

**Author:** ![keri.anderson97](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/keri.anderson97/32/33993_2.png) [@keri.anderson97](https://devforum.zoom.us/u/keri.anderson97)\
**Post date:** [January 27, 2022, 6:34am UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/6 "2022-01-27T06:34:03Z")

</div>

Hi Elisa,

Still waiting for your response on this.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [January 27, 2022, 9:18am UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/7 "2022-01-27T09:18:56Z")

</div>

Greetings, @keri.anderson97,

Your script looks correct. One thing I noticed is it looks like the Bearer token is missing:

![Screen Shot 2022-01-27 at 8.47.04 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/1/5/15b7315082b21c7d3bb7fc754e791a63287099e9.png)

You can compare your script against this example here :

> [@Join Meeting API](https://devforum.zoom.us/t/join-meeting-api/47243/2):
>
> Hi @mkhurramilyas, This should definitely be possible. You can send requests to our Create Meeting and GET Meeting APIs from a PHP framework. These endpoints will return a start\_url and join\_url for the host and participants to start/join Zoom Meetings: Here is an example of a request to create a meeting in PHP: \<?php $curl = curl\_init(); curl\_setopt\_array($curl, array( CURLOPT\_URL =\> "https://api.zoom.us/v2/users/%7BuserId%7D/meetings", CURLOPT\_RETURNTRANSFER =\> true, CURLOPT\_ENCOD…

Additionally, be sure to [check 50+ results for curl PHP](https://devforum.zoom.us/search?q=curl%20php) search results to see if answers may already be available.

I hope this helps.

Best,  
Donte

---

<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:** [January 27, 2022, 11:50pm UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/8 "2022-01-27T23:50:06Z")

</div>

Hi @keri.anderson97

Adding to what my colleague @donte.zoom shared with you. I want to say that I heard back from engineering and there was a fail on this endpoint around January 13. Could you please try making the request again to make that this is not happening anymore?

Thanks  
Elisa

---

<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, 2022, 9:50am UTC](https://devforum.zoom.us/t/create-meeting-api-returning-blank-response-with-200-ok/62510/9 "2022-02-27T09:50:28Z")

</div>

Closed on February 27, 2022, 9:50am UTC

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