Zoom update API not working its showing only 200 ok but didn't get any response how to implement in php

, , , ,

i am attaching the images

body parameters Raw
{

“topic”: “Michael API Test”,

“type”: 2,

“start_time”: “2021-04-24T01:15:00”,

“duration”: 60,

“timezone”: “Asia/Kolkata”,

“password”: “abcd”,

“agenda”: “My Meeting”,

“settings”: {

"host_video": false,

"in_meeting": false,

"join_before_host": true,

"mute_upon_entry": false,

"participant_video": false,

"registrants_confirmation_email": true,

"use_pmi": false,

"waiting_room": false,

"watermark": false,

"approval_type": 0,

"alternative_hosts": "",

"global_dial_in_countries": [

  {

    "city": "San Jose",

    "country": "US",

    "country_name": "US",

    "number": "+1 1212121212121212",

    "type": "toll"

  }

]

}

}

Hi @pranav.linuxbean,

Thanks for reaching out about this. Happy to help.

In taking a look at your request, I can see that you’re passing your Meeting ID as a query param—however this should be a path param. For example:
GET https://api.zoom.us/v2/meetings/meetingId

Here is an example in PHP:

<?php

$client = new http\Client;
$request = new http\Client\Request;

$request->setRequestUrl('https://api.zoom.us/v2/meetings/meetingId');
$request->setRequestMethod('GET');
$request->setHeaders(array(
  'authorization' => 'Bearer token'
));

$client->enqueue($request)->send();
$response = $client->getResponse();

echo $response->getBody();

I hope this helps!
Will

Thankyou so much sir

No problem, glad I could help. :slight_smile:

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