# When token from Send a Test Request expires?

**URL:** <https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883>\
**Category:** API and Webhooks\
**Created:** [July 12, 2020, 7:55am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883 "2020-07-12T07:55:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [July 12, 2020, 7:55am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/1 "2020-07-12T07:55:25Z")

</div>

**Description**  
Hi, I would like to know please when the OAuth token generated with “Get Access Token” expires ?  
When I’ve generated for the fist time it expires after a hour aprox. After generating the second time with this button it’s still valid and it passes more then 12 hours.

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

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Go to: [https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)
2. Hit button: “Get Access Token” ![Capture-4](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/6/6e9bbe7dc106c9b7f641c9933a6e43276720bf97.jpeg)

---

<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 15, 2020, 5:12pm UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/2 "2020-07-15T17:12:54Z")

</div>

Hey @LCristian,

OAuth access tokens expire after 1 hour. Checkout our OAuth guide here:

> **[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:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [July 15, 2020, 8:30pm UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/3 "2020-07-15T20:30:10Z")

</div>

@Tommy after I generated the second time from ‘Send a Test Request -\> Get Access Token’ days ago…it didn’t expire after that. I’m still using that one from days ago and this is why I asked. Perhaps is not a fixed time ? and I should expect to expire anytime ?

---

<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 20, 2020, 5:13pm UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/4 "2020-07-20T17:13:10Z")

</div>

Hey @LCristian,

Since you added your API Key and Secret it is most likely refreshing the token for you since you are signed into our doc page.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [July 21, 2020, 5:24am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/5 "2020-07-21T05:24:08Z")

</div>

Tommy,

Don’t know exactly what this means but I should implement regenerating the token for each request needed from my app ? I am in doubt since my token is still working without refresing it.

Regards,  
Cristian

---

<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 23, 2020, 12:39am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/6 "2020-07-23T00:39:46Z")

</div>

Hey @LCristian,

What is the Client/API ID/Key of the app? I am happy to look into this further.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [July 30, 2020, 10:38am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/7 "2020-07-30T10:38:11Z")

</div>

My Client ID: and key:

---

<div class="post-metadata">

**Author:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [July 30, 2020, 10:50am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/8 "2020-07-30T10:50:16Z")

</div>

Just now my token has expired.

---

<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:** [August 3, 2020, 9:40pm UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/9 "2020-08-03T21:40:40Z")

</div>

Hey @LCristian,

I am guessing it was cached since you were signed in, and each time it would refresh the token for you.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![LCristian](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@LCristian](https://devforum.zoom.us/u/LCristian)\
**Post date:** [August 4, 2020, 4:21am UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/10 "2020-08-04T04:21:34Z")

</div>

Possibly, thanks.

Cristian

---

<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:** [August 4, 2020, 8:35pm UTC](https://devforum.zoom.us/t/when-token-from-send-a-test-request-expires/23883/11 "2020-08-04T20:35:33Z")

</div>

Happy to help! 🙂

-Tommy
