Which SDK to use if I just want to create meetings that people can join on Zoom?

I am creating a web-based app that will need to create Zoom meetings for clients. Which is the best SDK/access method? I am doing the backend in PHP and want to use the simple curl based called to the rest API - but I need to get my authenticate and secret - it seems you need to “create and app” to get those - what’s the best path?

Hi @MyPDConnect
Thanks for reaching out to the Zoom Developer Forum and welcome to our community.
It looks like you want to embed Zoom into your web app.
To do that, I would recommend you use the Zoom Meeting Web SDK:

https://marketplace.zoom.us/docs/sdk/native-sdks/introduction/

https://marketplace.zoom.us/docs/sdk/native-sdks/web/#client-view

Let me know if this helps,
Elisa

We are not embedding zoom in a web page, we want to generate a Zoom Meeting Link that we can e-mail to a client (whether we e-mail or zoom e-mails).

The way our product works is that the user enters form data, and selects a time to connect with a representative, then we generate a zoom meeting link to send the client.

I just need the ability to generate my api key and secret so I can create zoom meeting links – and which SDK I will use. It appears I have to create an “app” to get started, and I’m not sure which option path to go down just to get my keys and secret etc.

For example the code I will use is something link below :

<?php // Replace the following with your Zoom API Key and Secret $apiKey = "your_api_key"; $apiSecret = "your_api_secret"; // URL to make the request to create a meeting $url = [https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings); // Meeting details $topic = "My Test Meeting"; $type = 2; $start_time = "2023-02-10T10:00:00Z"; $duration = 60; // Construct the payload $data = array( "topic" => $topic, "type" => $type, "start_time" => $start_time, "duration" => $duration ); $payload = json_encode($data); // Set up the headers $headers = array( "Authorization: Bearer " . $apiKey, "Content-Type: application/json" ); // Make the API request $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_POSTFIELDS, $payload); curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $response = curl_exec($ch); $err = curl_error($ch); curl_close($ch); // Check for errors if ($err) { echo "cURL Error #:" . $err; } else { // Parse the response $result = json_decode($response); if ($result->code) { echo "Error creating the meeting: " . $result->message; } else { // Meeting created successfully echo "Meeting created successfully. Meeting ID: " . $result->id; } } ?>

Hi @MyPDConnect
It looks like you could benefit from the Server-to-Server Oauth app:

https://marketplace.zoom.us/docs/guides/build/server-to-server-oauth-app/

Here is a sample app that you can take a look into or even use as a boiler plate for your application:

Please note that by using a Server to Server OAuth app, the meetings will be created under the owner of the app’s account.

If you are trying to create meetings on behalf of 3rd party users (if you want each user to get those meetings scheduled in their account) then you will have to work with an OAuth app and have it published in the Zoom Marketplace:

https://marketplace.zoom.us/docs/guides/auth/oauth/

https://marketplace.zoom.us/docs/guides/publishing/

Please let me know if this helps,
Elisa

Ok – is there PHP example or SDK? We are doing this all server side from PHP – so we can to use CURL to post out to the Zoom REST end points if that’s the only option.

If we are ONLY creating meetings under our account do we need to publish an app? Do we still need to register for a server to server oauth app to get our credentials?