# Request authorization code

**URL:** <https://devforum.zoom.us/t/request-authorization-code/9354>\
**Category:** API and Webhooks\
**Created:** [March 23, 2020, 8:58pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354 "2020-03-23T20:58:42Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [March 23, 2020, 8:58pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/1 "2020-03-23T20:58:42Z")

</div>

Hi,

Is this authorization code permanent? Do I have to do that once or every time when I send “Access Token” request?

If I understood correctly, Request User Authorization does’t work through API.

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 23, 2020, 9:36pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/2 "2020-03-23T21:36:18Z")

</div>

Hi @NKSM,

The authorization code is not permanent. Every time you authorize your app you will receive a new code to get a new set to Access/Refresh tokens.

Yes, request user authorization is a manual step by the user.

Thanks

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [March 23, 2020, 9:42pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/3 "2020-03-23T21:42:21Z")

</div>

Can I do “Refreshing an Access Token” when I want it today, tomorrow or after one week? Right?

My web application have many user, if i upgrade my zoom account to business, can i create multi meetings with one OAuth app using client\_id and client\_secret?

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [March 23, 2020, 9:45pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/4 "2020-03-23T21:45:53Z")

</div>

Yes, the refresh token, last up to 15 years. However, once you re authenticate with a new set of Access/Refresh tokens the previous ones are no longer valid [1].

> [@NKSM](#):
>
> My web application have many user, if i upgrade my zoom account to business, can i create multi meetings with one OAuth app using client\_id and client\_secret?

Yes, you can create multiple meetings for users using an Account level OAuth app.

1 - [https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#refreshing](https://marketplace.zoom.us/docs/guides/authorization/oauth/oauth-with-zoom#refreshing)

Thanks

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [March 26, 2020, 7:51pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/5 "2020-03-26T19:51:02Z")

</div>

> [@michael\_p.zoom](#):
>
> Yes, you can create multiple meetings for users using an Account level OAuth app.

Can I create multiple “meetings” with a user (“Business”) and the **same time**?

If “YES”, how do I insert another host for “meeting”. Is it done by you (automatically)? I create a “meeting” via api as in Pro account.

If “NO”, why do I need than a Business account?

Yet another question. Can I get a list of meetings with specific IDs? So filter a list.

---

<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:** [March 27, 2020, 12:17am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/6 "2020-03-27T00:17:35Z")

</div>

Hey @NKSM,

> [@NKSM](#):
>
> Can I create multiple “meetings” with a user (“Business”) and the **same time**?

Yes, but they cannot be running at the same time with the same host.

[https://support.zoom.us/hc/en-us/articles/206122046-Can-I-Host-Concurrent-Meetings-](https://support.zoom.us/hc/en-us/articles/206122046-Can-I-Host-Concurrent-Meetings-)

> [@NKSM](#):
>
> If “YES”, how do I insert another host for “meeting”. Is it done by you (automatically)? I create a “meeting” via api as in Pro account.

You can add a user as an [alternative host](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate):

![Screen Shot 2020-03-26 at 6.16.05 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/12c15be065c565a35620cc6d474355f3736e3a4d.png)

> [@NKSM](#):
>
> Yet another question. Can I get a list of meetings with specific IDs? So filter a list.

Yes, if you provide the meeting ID.

[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meeting)  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/pastmeetings](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/pastmeetings)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [March 27, 2020, 8:57am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/7 "2020-03-27T08:57:15Z")

</div>

> [@tommy](#):
>
> You can add a user as an [alternative host](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)

Is there a possibility to create a user without an email address who cannot log in to [Zoom.us](http://Zoom.us) but can still be used as a host?

---

<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:** [March 27, 2020, 6:00pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/8 "2020-03-27T18:00:11Z")

</div>

Hey @NKSM,

Yes, you can [create a custCreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/usercreate) user which does just that.

To use custCreate there is a special pricing plan, please reach out to [isv@zoom.us](mailto:isv@zoom.us).

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [March 31, 2020, 2:34pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/9 "2020-03-31T14:34:59Z")

</div>

> [@tommy](#):
>
> You can add a user as an [alternative host](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate):
> 
> ![Screen Shot 2020-03-26 at 6.16.05 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/12c15be065c565a35620cc6d474355f3736e3a4d.png)

If I provide multiple IDs with alternative hosts. Which host will be used, the first to be free or something else?

---

<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:** [March 31, 2020, 7:55pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/10 "2020-03-31T19:55:03Z")

</div>

Hey @NKSM,

Any of the alternate hosts who starts / joins the meeting will be used.

Does that make sense?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [April 1, 2020, 8:31am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/11 "2020-04-01T08:31:47Z")

</div>

> [@tommy](#):
>
> Any of the alternate hosts who starts / joins the meeting will be used.
> 
> Does that make sense?

Hey @tommy,

Yes, if one of the hosts already has a meeting at the same time, what happens then?

I thought alternative hosts would be used only if you want to start multiple meetings at the same time (to provide an alternative host).

And another question what happens if the duration is set to 1 hour, after 1 hour the meeting is interrupted or continuous? And what if another meeting is scheduled after 1 hour with the same host?

---

<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:** [April 1, 2020, 10:46pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/12 "2020-04-01T22:46:46Z")

</div>

Hey @NKSM,

> [@NKSM](#):
>
> Yes, if one of the hosts already has a meeting at the same time, what happens then?

Then the alternate host can start the meeting.

> [@NKSM](#):
>
> I thought alternative hosts would be used only if you want to start multiple meetings at the same time (to provide an alternative host).

Also correct.

> [@NKSM](#):
>
> And another question what happens if the duration is set to 1 hour, after 1 hour the meeting is interrupted or continuous?

The meeting will continue as long as there are people in the meeting, and the host has not ended it.

> [@NKSM](#):
>
> And what if another meeting is scheduled after 1 hour with the same host?

That meeting won’t be started till the host ends the current meeting, and starts the other meeting. You could start the other meeting with alternate host.

![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c67c83a381fd44be415d6da259c0df7abbdedb39.png)

[https://support.zoom.us/hc/en-us/articles/202828525-Join-Before-Host](https://support.zoom.us/hc/en-us/articles/202828525-Join-Before-Host)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![NKSM](https://avatars.discourse-cdn.com/v4/letter/n/258eb7/32.png) [@NKSM](https://devforum.zoom.us/u/NKSM)\
**Post date:** [April 2, 2020, 9:15am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/13 "2020-04-02T09:15:18Z")

</div>

Hey @tommy,

Thanks for your extensive answers, I still have a question. 😄

Is it possible to check (via api) or host still busy with meeting. Or just see which host is still available.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![michael\_p.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_p.zoom/32/18105_2.png) [@michael\_p.zoom](https://devforum.zoom.us/u/michael_p.zoom)\
**Post date:** [April 2, 2020, 3:47pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/14 "2020-04-02T15:47:34Z")

</div>

Hi @NKSM,

You can use the User Presence status updated webhook to see if the host is available, away, or do not disturb[1]. We will be enhancing the webhook in a future release to include calendar meeting, phone & video call.

1 - [https://marketplace.zoom.us/docs/api-reference/webhook-reference/user-events/presence-status-updated](https://marketplace.zoom.us/docs/api-reference/webhook-reference/user-events/presence-status-updated)

Thanks

---

<div class="post-metadata">

**Author:** ![kevalshah413](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kevalshah413](https://devforum.zoom.us/u/kevalshah413)\
**Post date:** [July 9, 2020, 7:43am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/15 "2020-07-09T07:43:37Z")

</div>

Hey,

Can I use one authorization code for getting access token every time

**\> until I again authorize app and generate new authorization code?**

IF yes then I would like to store it and use it for permanently to get access token.  
Is this feasible ?

Thank you,  
Keval Shah

---

<div class="post-metadata">

**Author:** ![kevalshah413](https://avatars.discourse-cdn.com/v4/letter/k/ed8c4c/32.png) [@kevalshah413](https://devforum.zoom.us/u/kevalshah413)\
**Post date:** [July 9, 2020, 7:44am UTC](https://devforum.zoom.us/t/request-authorization-code/9354/16 "2020-07-09T07:44:18Z")

</div>

How I can get authorization code through C# by Zoom API?

---

<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:** [July 13, 2020, 10:10pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/17 "2020-07-13T22:10:52Z")

</div>

Hey @kevalshah413,

The authorization code is one time use only. You can refresh the access\_token instead. Here are the OAuth docs:

> **[OAuth 2.0 - Authorization - Documentation](https://marketplace.zoom.us/docs/guides/auth/oauth)**
>
> OAuth with Zoom
> 
> The Zoom API uses OAuth 2.0 to authenticate and authorize users to make requests. To setup access credentials and request scopes for yo...

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 10:40pm UTC](https://devforum.zoom.us/t/request-authorization-code/9354/18 "2020-08-21T22:40:51Z")

</div>


