# Refresh Token with account Basic, Pro, Business and Enterprise?

**URL:** <https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938>\
**Category:** API and Webhooks\
**Created:** [April 22, 2022, 7:15am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938 "2022-04-22T07:15:16Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 22, 2022, 7:15am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/1 "2022-04-22T07:15:16Z")

</div>

## Refresh Token with account Basic, Pro, Business and Enterprise?

I started to try it with OAuth, now I see you have 4 different users equivalent to basic, pro, business and enterprise.

My question is:

- Here Basic and Pro successfully.
- But Business and Enterprise accounts not use tokens?

---

<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:** [April 22, 2022, 1:59pm UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/2 "2022-04-22T13:59:03Z")

</div>

@fajizy,

Welcome to the Developer Forum and thank you for posting. I am not sure I’m understanding your questions. Can you provide more context on what you are looking to accomplish? Also, it would help if you can share the resources you mentioned with 4 different users equivalent to basic, pro, business, and enterprise? To clarify, in order to use the Developer Portal on the Zoom marketplace, an account member must have Developer permission. Any Basic/Free account can be used to access certain APIs. However, in order to work with certain endpoints, that account member will need a Pro or higher plan. If a basic account member needs to test an API, we recommend considering the monthly option for the license needed. For more information on Developer Accounts, please see our help documentation [here](https://marketplace.zoom.us/docs/sdk/native-sdks/developer-accounts). Further information and assistance regarding API usage and pricing can be found on the [API Plans](https://zoom.us/plan/api) page, or contact a [Zoom Sales Engineer](https://zoom.us/contactsales).

Let me know if this helps to answer your questions.

Best,  
Donte

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 25, 2022, 3:53am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/3 "2022-04-25T03:53:00Z")

</div>

Hi, @donte.S  
After some time of operation, initially when our users use basic and pro account it works normally But now when our users use business and enterprise account it I’m getting an error for the above 2 accounts.

When the token period expires, it will refresh the token, but from the 2nd token refresh on, it gives an error invalid\_grant.

We are using api refresh code: [Zoom Developer Docs](https://marketplace.zoom.us/docs/guides/auth/oauth/#refreshing-an-access-token)

---

<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:** [April 26, 2022, 1:51am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/4 "2022-04-26T01:51:29Z")

</div>

@fajizy,

To confirm, when you say the 2nd token refresh on gives an error invalid\_grant. Do you mean the refresh token returned in the previous Refreshing an Access Token request, gives an error invalid\_grant. ? Please note, while is refresh tokens are valid for 15 years, you can only use it once. Any additional request made with that refresh token will return an error. The latest refresh token must always be used for the next refresh request.

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 26, 2022, 2:03am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/5 "2022-04-26T02:03:40Z")

</div>

@donte.zoom ,  
Currently, I have used the **latest refresh token** method but still the error

---

<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:** [April 26, 2022, 2:45am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/6 "2022-04-26T02:45:51Z")

</div>

@fajizy,

To investigate this further, can you submit a request with our support here: [https://support.zoom.us/hc/en-us](https://support.zoom.us/hc/en-us)

Be sure to include the link to this post along with the following fields with questions marks (i.e.Time/Date of Request, OAuth User Details, AccountID, Refresh Token, Access Token, and ExpiresAt).

**Complete Refresh Token API request** :

[https://zoom.us/oauth/token](https://zoom.us/oauth/token)

**Headers** :

?

**Error Message returned :**

{“reason”:“Invalid Token!”,“error”:“invalid\_grant”}

**Time/Date of Request:**

**?**

**OAuth User Details** :

?

**AccountID** :  
?

**Refresh Token** :  
?

**Access Token** :  
?

**ExpiresAt** :  
?

This information will help speed up the investigation process.

Regards,  
Donte

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 28, 2022, 2:03am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/7 "2022-04-28T02:03:32Z")

</div>

@donte.zoom,  
We have completed the above requirements, but the results are not as we expected. For security reasons we have sent this to the Zoom team by email: info@smoothly.jp

---

<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:** [April 28, 2022, 2:14am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/8 "2022-04-28T02:14:33Z")

</div>

Thanks for the update @fajizy! The team will be able to take a closer look at our logs and diagnose what may be happening.

Thanks again for updating us!

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 28, 2022, 9:49am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/9 "2022-04-28T09:49:26Z")

</div>

@donte.zoom,  
Thank you. I hope to receive an email reply from the Zoom team as soon as possible.

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [April 29, 2022, 6:36am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/10 "2022-04-29T06:36:40Z")

</div>

@donte.zoom,

Is the API [https://api.zoom.us/v2/users/me](https://api.zoom.us/v2/users/me) return the user information? Does the user’s return information include a Business account?

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [May 4, 2022, 2:17am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/11 "2022-05-04T02:17:35Z")

</div>

@donte.zoom I hope you reply to my comment

---

<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:** [May 4, 2022, 3:13am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/12 "2022-05-04T03:13:45Z")

</div>

Apologies for the delay, @fajizy! Yes, the `/me` context for the [Get a user](https://marketplace.zoom.us/docs/api-reference/zoom-api/methods/#operation/user) API will return the user information, regardless of the account type. I’ve linked our help documentation of this topic below for your review, but let me know if there is anything that I can help clarify.

 ![Screen Shot 2022-05-03 at 11.11.57 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/2/52ba3c03d09e7e987d3a25e782fe18ce256ed29e.png)

## The /me Context

[https://marketplace.zoom.us/docs/guides/auth/oauth/#the-me-context](https://marketplace.zoom.us/docs/guides/auth/oauth/#the-me-context)

---

<div class="post-metadata">

**Author:** ![fajizy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/fajizy/32/37174_2.png) [@fajizy](https://devforum.zoom.us/u/fajizy)\
**Post date:** [May 4, 2022, 5:02am UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/13 "2022-05-04T05:02:21Z")

</div>

I hope the Zoom team can reply to my email sooner, we look forward to hearing from you.

**Posted By:** info@smoothly.jp

---

<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:** [June 3, 2022, 3:02pm UTC](https://devforum.zoom.us/t/refresh-token-with-account-basic-pro-business-and-enterprise/67938/14 "2022-06-03T15:02:25Z")

</div>

Closed on June 3, 2022, 3:02pm UTC

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