# Zoom API integration with PHP

**URL:** <https://devforum.zoom.us/t/zoom-api-integration-with-php/16849>\
**Category:** API and Webhooks\
**Created:** [May 8, 2020, 10:41pm UTC](https://devforum.zoom.us/t/zoom-api-integration-with-php/16849 "2020-05-08T22:41:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nandinirouthu23](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nandinirouthu23/32/8061_2.png) [@nandinirouthu23](https://devforum.zoom.us/u/nandinirouthu23)\
**Post date:** [May 8, 2020, 10:41pm UTC](https://devforum.zoom.us/t/zoom-api-integration-with-php/16849/1 "2020-05-08T22:41:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![michael.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael.zoom/32/37213_2.png) [@michael.zoom](https://devforum.zoom.us/u/michael.zoom)\
**Post date:** [May 12, 2020, 3:12pm UTC](https://devforum.zoom.us/t/zoom-api-integration-with-php/16849/2 "2020-05-12T15:12:13Z")

</div>

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](https://marketplace.zoom.us/docs/guides/auth/oauth). If your app is managing users and data on your account, use [JSON Web Tokens](https://marketplace.zoom.us/docs/guides/auth/jwt). Either of these authentication types can be used from PHP to make requests to the Zoom API:

```php
<?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;
}

```

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:15pm UTC](https://devforum.zoom.us/t/zoom-api-integration-with-php/16849/3 "2020-08-21T21:15:47Z")

</div>


