# Validate AccessToken

**URL:** <https://devforum.zoom.us/t/validate-accesstoken/51103>\
**Category:** API and Webhooks\
**Created:** [May 26, 2021, 3:08pm UTC](https://devforum.zoom.us/t/validate-accesstoken/51103 "2021-05-26T15:08:51Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![akona](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@akona](https://devforum.zoom.us/u/akona)\
**Post date:** [May 26, 2021, 3:08pm UTC](https://devforum.zoom.us/t/validate-accesstoken/51103/1 "2021-05-26T15:08:51Z")

</div>

Hello Team

I am Pro licensed User. I am making an API call to get list recordings of an user.  
I need an API to validate Access Token before passing the Access Token to the **download\_url** to download the recording from recordings API using OAuth authentication.

Thanks!

---

<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:** [May 27, 2021, 5:04pm UTC](https://devforum.zoom.us/t/validate-accesstoken/51103/2 "2021-05-27T17:04:15Z")

</div>

Hi @akona,

Thanks for reaching out!

You can authenticate the `download_url` with either a JWT token or OAuth token from your account. If you wish to authenticate via an OAuth token, you’ll need to request an access token for the account by following the steps outlined here:  
[https://marketplace.zoom.us/docs/guides/auth/oauth](https://marketplace.zoom.us/docs/guides/auth/oauth)

You can also use a JWT token from the account the recording belongs to—you can find instructions for generating a JWT token here:

> [@Finding your API Key/Secret Credentials in Marketplace](https://devforum.zoom.us/t/finding-your-api-key-secret-credentials-in-marketplace/3471):
>
> Hello Dev Community, We have recently migrated the developer experience from our legacy site [developer.zoom.us](http://developer.zoom.us/) to our new developer platform [marketplace.zoom.us](http://marketplace.zoom.us/). With the migration, we have migrated over your developer profile credentials OAuth (Client ID & Secret), JWT(API Key/Secret), SDK Key/Secret and Webhook credentials. Finding your existing JWT API Key/Secret app in Marketplace When you first log in to the marketplace, click on the Manage button. Afterwards, your existing app will be …

Once you have a token, you can append it to the download URL as a query parameter:  
?access\_token={token}

Let me know if this helps—thanks!  
Will

---

<div class="post-metadata">

**Author:** ![akona](https://avatars.discourse-cdn.com/v4/letter/a/c57346/32.png) [@akona](https://devforum.zoom.us/u/akona)\
**Post date:** [May 28, 2021, 6:31am UTC](https://devforum.zoom.us/t/validate-accesstoken/51103/3 "2021-05-28T06:31:42Z")

</div>

Hello @will.zoom

Thanks for your reply!

I have generated an Access Token using OAuth and the expiry time is 3599 seconds. How can I validate that Access Token is valid or expired.

Waiting for quick response. Thanks!

---

<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:** [May 28, 2021, 5:21pm UTC](https://devforum.zoom.us/t/validate-accesstoken/51103/4 "2021-05-28T17:21:44Z")

</div>

Hi @akona,

OAuth access\_tokens are valid for 1 hour. You will need to log the time you requested the token to know if it’s still valid.

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:** [June 28, 2021, 3:21am UTC](https://devforum.zoom.us/t/validate-accesstoken/51103/5 "2021-06-28T03:21:48Z")

</div>

Closed on June 28, 2021, 3:21am UTC

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