# Zoom Access Token Expiration for REST V2

**URL:** <https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581>\
**Category:** API and Webhooks\
**Created:** [July 22, 2021, 8:43pm UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581 "2021-07-22T20:43:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmalkan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hmalkan/32/29315_2.png) [@hmalkan](https://devforum.zoom.us/u/hmalkan)\
**Post date:** [July 22, 2021, 8:43pm UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581/1 "2021-07-22T20:43:05Z")

</div>

## Using this template helps us debug your issues more effectively 🙂

**Description**  
Trying to connect to our internal Data Integration product using REST V2 or Shell script and we keep getting access token errors after 1 hour.

**Error**  
As per documentation on Zoom link, the Access token is supposed to be valid for 15 years, which is not the case. I have to manually get access token using a refresh token hourly.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
Daily Usage Reports - [https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportdaily](https://marketplace.zoom.us/docs/api-reference/zoom-api/reports/reportdaily)

**How To Reproduce (If applicable)**  
You can reproduce the behavior in Postman. The 2nd POST to get Access token expires Hourly. Need new refresh token to get a new access token hourly.

**Screenshots (If applicable)**  
If applicable, add screenshots to help explain your problem.

**Additional context**  
Add any other context about the problem here.

---

<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:** [July 23, 2021, 3:05pm UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581/2 "2021-07-23T15:05:48Z")

</div>

Hi @hmalkan,

Thanks for reaching out about this—to clarify, the access\_token is valid for 1 hour, while the associated refresh\_token is valid for 15 years.

You will need to make a request to our /oauth endpoint using the original refresh\_token that was retuned alongside the access\_token from your initial request after 1 hour, in order to retrieve a new access\_token and refresh\_token pair:

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

Let me know if it helps to clarify,  
Will

---

<div class="post-metadata">

**Author:** ![hmalkan](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hmalkan/32/29315_2.png) [@hmalkan](https://devforum.zoom.us/u/hmalkan)\
**Post date:** [August 4, 2021, 4:25pm UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581/3 "2021-08-04T16:25:14Z")

</div>

Hi Will,

I am trying to create a REST API connection. I am getting stuck at this point Refreshing the Access Token after an hour - [https://marketplace.zoom.us/docs/guides/auth/oauth#refreshing](https://marketplace.zoom.us/docs/guides/auth/oauth#refreshing).

The steps mentioned in the document works inPostman and manually I can refresh access token using the original refresh token but not cannot automate it using REST API.

---

<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:** [August 5, 2021, 9:20pm UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581/4 "2021-08-05T21:20:30Z")

</div>

Hi @hmalkan,

Are you getting an error when calling one of our OAuth endpoints? Let me know if you can provide some additional details on where you’re getting stuck and I’ll be happy to help.

Thanks!  
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:** [September 5, 2021, 7:21am UTC](https://devforum.zoom.us/t/zoom-access-token-expiration-for-rest-v2/54581/5 "2021-09-05T07:21:09Z")

</div>

Closed on September 5, 2021, 7:21am UTC

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