Integration PHP API Zoom for OAuth

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.

    indent preformatted text by 4 spaces

$client = new GuzzleHttp\Client([‘base_uri’ => ‘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.

Hey @drodriguezescalante9,

If you are wanting to build an integration just for your Zoom account, you can use JWT Tokens which do not require user interaction to call the Zoom API.

Thanks,
Tommy

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