Getting Empty response from "Create Webinar" API


#1

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.


#2

Hi,

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

 

I also recommend visiting https://zoom.us/developer/api/credential and regenerating your secret as you’ve posted it here in the public.

 

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


#3

Hi,

We are getting below CURL Error –

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


#4

$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);