Description
I’m unclear on how to set up PHP to update meeting parameters.
Error
Not an error. Just returns meeting description without changing anything. Do I need to provide all the settings?
Which App Type)?
JWT
Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.
“https://api.zoom.us/v2/meetings/” . $MeetingID;
How To Reproduce (If applicable)
Steps to reproduce the behavior: Here’s my code:
$arrData = [‘topic’ => ‘API changed the topic to this’];
$jsonData = json_encode($arrData,true);
$URL = "https://api.zoom.us/v2/meetings/" . $MeetingID;
$ch = curl_init($URL);
$customHeaders = array(
'Authorization:Bearer ' . $gZoomToken,
'Content-type:application/json,');
curl_setopt($ch, CURLOPT_HTTPHEADER, $customHeaders);
curl_setopt($ch, CURLOPT_ACCCEPT, "application/json");
curl_setopt($ch, CURLOPT_GET, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
curl_setopt($ch, CURLOPT_GETFIELDS, $jsonData);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
//Execute the request.
$Result = curl_exec($ch);
$Response .= “|” . $Result;
Screenshots (If applicable)
If applicable, add screenshots to help explain your problem.
Additional context
I’ve made sure the meeting ID I’m testing with is not my personal meeting ID. I can get the list of meetings okay, so the JWT token seems to be okay.