# Php Oauth Zoom API Integration

**URL:** <https://devforum.zoom.us/t/php-oauth-zoom-api-integration/37986>\
**Category:** API and Webhooks\
**Created:** [December 9, 2020, 9:16am UTC](https://devforum.zoom.us/t/php-oauth-zoom-api-integration/37986 "2020-12-09T09:16:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![eluminous.se47](https://avatars.discourse-cdn.com/v4/letter/e/b2d939/32.png) [@eluminous.se47](https://devforum.zoom.us/u/eluminous.se47)\
**Post date:** [December 9, 2020, 9:16am UTC](https://devforum.zoom.us/t/php-oauth-zoom-api-integration/37986/1 "2020-12-09T09:16:30Z")

</div>

Hello,  
I have a php laravel website , where multiple users registers as yoga teacher, they conduct the yoga classes.  
I want to allow those yoga teacher to create zoom meeting to there own zoom account from my website and want a zoom join url in response to save at my end in database for further functionality

I had tried with zoom oauth api’s, But I don’t want these users to be created in my zoom business account (Where i have created the oauth app)… any of the yoga teacher from my website should be allowed to create there own zoom meetings on there own accounts.

Please help … any help will be greatly appreciated  
Thanks in advance

I am using OAuth api.

**1. I created the Oauth app**  
**2. Copy the credential**  
**3. curl Request for the authorization**

```auto
https://zoom.us/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URL

```

**4. Then curl request for the access token**

```auto
https://zoom.us/oauth/token?grant_type=authorization_code&code=MY_CODE&redirect_uri=REDIRECT_URL

```

**5. Then try to create a meeting**  
[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)

But this is creating meeting in my own zoom account …  
I want to create the meeting in the users account.

I have found the following Users api, where I have to pass the user id to to create the meeting  
[https://api.zoom.us/v2/users/{user\_id/email}/meetings](https://api.zoom.us/v2/users/%7Buser_id/email%7D/meetings)

my questions is that , after providing the user\_id in the above api , will zoom meeting created in my zoom account or the users zoom account?

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [December 10, 2020, 8:42pm UTC](https://devforum.zoom.us/t/php-oauth-zoom-api-integration/37986/2 "2020-12-10T20:42:29Z")

</div>

Hey @eluminous.se47,

Good question—happy to clarify.

To that end, once a user has authorized your OAuth app and you’ve retrieved an access token, you can then authorize a request to the [Create Meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) endpoint using the access\_token for the user, and pass either that user’s email or user ID to the request URL.

This will create the Meeting under that user’s account, not your own. Please note that in order to use an OAuth app with users outside of your account, you’ll need to first publish your app on our Marketplace:

> **[App Submission - Publishing an App - Documentation](https://marketplace.zoom.us/docs/guides/publishing/app-submission)**
>
> App Submission
> 
> Apps may be submitted for Public release on the App Marketplace for all users to install. Once you have submitted an app, the Marketplac...

Let me know if this helps to clarify!

Best,  
Will

---

<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:** [January 10, 2021, 6:42am UTC](https://devforum.zoom.us/t/php-oauth-zoom-api-integration/37986/3 "2021-01-10T06:42:41Z")

</div>

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