# How to use zoom api for creating meeting step by step in php

**URL:** <https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430>\
**Category:** Meeting SDK\
**Created:** [October 15, 2022, 5:55am UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430 "2022-10-15T05:55:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![asifansari](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/asifansari/32/42274_2.png) [@asifansari](https://devforum.zoom.us/u/asifansari)\
**Post date:** [October 15, 2022, 5:55am UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430/1 "2022-10-15T05:55:54Z")

</div>

step by step integrate zoom api for creating meeting using php codeigniter step by step

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [October 18, 2022, 5:05pm UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430/2 "2022-10-18T17:05:57Z")

</div>

@asifansari,

Welcome to the Zoom Developer Forum – happy to help. Can you share more details about what you are trying to accomplish? This will help us better support and guide you to a solution.

That aside, here is an example of how to Create a Zoom Meeting using PHP:

```auto
$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => "https://api.zoom.us/v2/users/{userId}/meetings",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 0,
  CURLOPT_FOLLOWLOCATION => true,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "POST",
  CURLOPT_POSTFIELDS =>"{\r\n \"agenda\": \"My Meeting\",\r\n \"default_password\": false,\r\n \"duration\": 60,\r\n \"password\": \"123456\"\r\n}",
  CURLOPT_HTTPHEADER => array(
    "Authorization: Bearer {YOUR TOKEN HERE}",
    "Content-Type: application/json"
  ),
));

$response = curl_exec($curl);

curl_close($curl);
echo $response;

```

---

<div class="post-metadata">

**Author:** ![fmee](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@fmee](https://devforum.zoom.us/u/fmee)\
**Post date:** [May 23, 2023, 4:16pm UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430/3 "2023-05-23T16:16:58Z")

</div>

Hey, is this still up to date?  
We are switching from jitsi to zoom and have a automated script, that generates meeting links to be sent by mail. In jitsi its ver simple, the link/the meeting does not need to be regstered on the server side (means i just generate a link like

```auto
https://meet.jit.si/XYZ123

```

and it works). The script is running under an php-cli on a windows machine. I found many examples that make use of JWT and PHP, etc, but i found this complicated with the php-cli, but this example seems to need only curl/libcurl? If this is still working it would be great!

Regards Florian

---

<div class="post-metadata">

**Author:** ![fmee](https://avatars.discourse-cdn.com/v4/letter/f/aca169/32.png) [@fmee](https://devforum.zoom.us/u/fmee)\
**Post date:** [May 23, 2023, 4:23pm UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430/4 "2023-05-23T16:23:54Z")

</div>

> [@donte.zoom](#):
>
> `{YOUR TOKEN HERE}`

Next question would be: Where can I get this token?  
Regards Florian

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [June 1, 2023, 1:54pm UTC](https://devforum.zoom.us/t/how-to-use-zoom-api-for-creating-meeting-step-by-step-in-php/77430/5 "2023-06-01T13:54:12Z")

</div>

@asifansari,

Thank you for your question! To get the access token, you need to make Post to Zoom Authorize endpoint. Down below I’ve linked the support documentation for getting started with Zoom APIs. You will find examples of how to get an Access token for Zoom Rest APIs. Take a look and let us know if you have any questions.

[https://developers.zoom.us/docs/api/rest/using-zoom-apis/](https://developers.zoom.us/docs/api/rest/using-zoom-apis/)
