using this doc i am able to generate jwt token but when i pass it in headers
i need the information of already created zoom webinar in zoom account using meeting sdk jwt token and webinarID.
$api = “https://api.zoom.us/v2/webinars/{webinarid}”;
$curl = curl_init();
$jwtToken ={jwttoken};
curl_setopt_array($curl, array(
CURLOPT_URL => $api,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => “”,
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => “GET”,
CURLOPT_HTTPHEADER => array(
“authorization: Bearer $jwtToken”,
“content-type: application/json”,
// “Accept: application/json”,
),
));
$response = json_decode(curl_exec($curl));
response i am getting is : {
“code”: 124,
“message”: “Invalid access token.”
}
please help in this