Zoom API integration with PHP

I’m new to this api integration. I want to integrate Zoom API within a PHP project. Can anyone suggest me that how to integrate Zoom API within my PHP project.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
I can’t understand the app types which is suitable for my web application. can yo suggest me what are they actually

Thanks in advance,
Nandini Routhu

Hi @nandinirouthu23, thanks for posting and using Zoom! The main question is whether you will want users outside of your account to use your app, or if you want account-level authorization. If this app is meant to be used by users outside your account or requires user-level permissions, use an OAuth app. If your app is managing users and data on your account, use JSON Web Tokens. Either of these authentication types can be used from PHP to make requests to the Zoom API:

<?php

$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.zoom.us/v2/users?status=active&page_size=30&page_number=1",
  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 39ug3j309t8unvmlmslmlkfw853u8",
    "content-type: application/json"
  ),
));

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}