# Getting Empty response from "Create Webinar" API

**URL:** <https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639>\
**Category:** API and Webhooks\
**Created:** [July 6, 2017, 9:10am UTC](https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639 "2017-07-06T09:10:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Live\_Webinar](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@Live\_Webinar](https://devforum.zoom.us/u/Live_Webinar)\
**Post date:** [July 6, 2017, 9:10am UTC](https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639/1 "2017-07-06T09:10:59Z")

</div>

Hi Team,

We are getting empty response while calling “Create Webinar” API.

Please find below details -

Request Parameters :  
Array  
(  
[host\_id] =\> 4tlEuxwMScq0N6\_tg7lVzg  
[type] =\> 5  
[topic] =\> Mathematics-Test  
[start\_time] =\> 2017-07-08T09:30:00Z  
[duration] =\> 30  
[timezone] =\> Asia/Kolkata  
[agenda] =\> Mathematics-Test  
[language] =\> en-US  
[api\_key] =\> sw4JOrERSQWXFl8FcCxHqQ  
[api\_secret] =\> hKmQcFQNnghBVLtgWnsvPIeYP72VoePBMO8L  
[data\_type] =\> JSON  
)

host\_id=4tlEuxwMScq0N6\_tg7lVzg&type=5&topic=Mathematics-Test&start\_time=2017-07-08T09%3A30%3A00Z&duration=30&timezone=Asia%2FKolkata&agenda=Mathematics-Test&language=en-US&api\_key=sw4JOrERSQWXFl8FcCxHqQ&api\_secret=hKmQcFQNnghBVLtgWnsvPIeYP72VoePBMO8L&data\_type=JSON

Response :  
false

Kindly check and let us know if we are missing any parameters.

Please Note : On our staging environment its working fine. But on production its not working.

---

<div class="post-metadata">

**Author:** ![Joshua\_Woodward1](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/joshua_woodward1/32/1480_2.png) [@Joshua\_Woodward1](https://devforum.zoom.us/u/Joshua_Woodward1)\
**Post date:** [July 6, 2017, 6:03pm UTC](https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639/2 "2017-07-06T18:03:27Z")

</div>

Hi,

I ran this in the playground&nbsp;[https://zoom.us/developer/api/playground](https://zoom.us/developer/api/playground) and got a successful response. If you visit&nbsp;[https://zoom.us/webinar/list](https://zoom.us/webinar/list) with the same host as above you should see it.

&nbsp;

I also recommend visiting&nbsp;[https://zoom.us/developer/api/credential](https://zoom.us/developer/api/credential) and regenerating your secret as you’ve posted it here in the public.

&nbsp;

If it is not working on your production serve I would look into that setup, as it works from our playground and your staging.

---

<div class="post-metadata">

**Author:** ![Live\_Webinar](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@Live\_Webinar](https://devforum.zoom.us/u/Live_Webinar)\
**Post date:** [July 7, 2017, 7:59am UTC](https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639/3 "2017-07-07T07:59:27Z")

</div>

Hi,

We are getting below CURL Error –

Error No. – 77  
Error Message - Problem with the SSL CA cert (path? access rights?)

---

<div class="post-metadata">

**Author:** ![Live\_Webinar](https://avatars.discourse-cdn.com/v4/letter/l/82dd89/32.png) [@Live\_Webinar](https://devforum.zoom.us/u/Live_Webinar)\
**Post date:** [July 7, 2017, 8:04am UTC](https://devforum.zoom.us/t/getting-empty-response-from-create-webinar-api/639/4 "2017-07-07T08:04:32Z")

</div>

$ch = curl\_init();  
curl\_setopt($ch, CURLOPT\_RETURNTRANSFER, 1);  
curl\_setopt($ch, CURLOPT\_URL, $request\_url);  
curl\_setopt($ch, CURLOPT\_POST, 1);  
curl\_setopt($ch, CURLOPT\_POSTFIELDS, $postFields);  
curl\_setopt($ch, CURLOPT\_SSL\_VERIFYPEER, false);  
$response = curl\_exec($ch);  
curl\_close($ch);
