# Integration PHP API Zoom for OAuth

**URL:** <https://devforum.zoom.us/t/integration-php-api-zoom-for-oauth/25903>\
**Category:** API and Webhooks\
**Created:** [July 31, 2020, 8:22pm UTC](https://devforum.zoom.us/t/integration-php-api-zoom-for-oauth/25903 "2020-07-31T20:22:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![drodriguezescalante9](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/drodriguezescalante9/32/12846_2.png) [@drodriguezescalante9](https://devforum.zoom.us/u/drodriguezescalante9)\
**Post date:** [July 31, 2020, 8:22pm UTC](https://devforum.zoom.us/t/integration-php-api-zoom-for-oauth/25903/1 "2020-07-31T20:22:29Z")

</div>

**Description**  
Auto access to Zoom Acount

**Error**  
Hello! Im new using the API Integration in Zoom …

Im using a PHP function (not laravel) to create a meeting from my website. I want to know if there is a way to auto access to the account or generate the code for ‘form\_params’ [“code”]. This is part of my access token generating process from my OAuth App.

 ![Captura](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/9/9dfdf7bc3b09e59cf347c52387b379a1e877fe99.png)

```
    indent preformatted text by 4 spaces

```

$client = new GuzzleHttp\Client([‘base\_uri’ =\> ‘[https://zoom.us](https://zoom.us)’]);

```
$response = $client->request('POST', '/oauth/token', [

    "headers" => [

        "Authorization" => "Basic ". base64_encode(CLIENT_ID.':'.CLIENT_SECRET)

    ],

    'form_params' => [

        "grant_type" => "authorization_code",

        "code" => $_GET['code'],

        "redirect_uri" => REDIRECT_URI

    ],

]);
    indent preformatted text by 4 spaces

```

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**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.

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Request URL / Headers (without credentials) / Body
2. See error

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [August 4, 2020, 6:02am UTC](https://devforum.zoom.us/t/integration-php-api-zoom-for-oauth/25903/2 "2020-08-04T06:02:30Z")

</div>

Hey @drodriguezescalante9,

If you are wanting to build an integration just for your Zoom account, you can use [JWT Tokens](https://marketplace.zoom.us/docs/guides/auth/jwt) which do not require user interaction to call the Zoom API.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 14, 2020, 6:02am UTC](https://devforum.zoom.us/t/integration-php-api-zoom-for-oauth/25903/3 "2020-08-14T06:02:32Z")

</div>

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