# Error 124 invalid access toke

**URL:** https://devforum.zoom.us/t/error-124-invalid-access-toke/2824
**Category:** API and Webhooks
**Created:** [December 27, 2018, 6:39am UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824 "2018-12-27T06:39:47Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![if1](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@if1](https://devforum.zoom.us/u/if1)
#### Post date: [December 27, 2018, 6:39am UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824/1 "2018-12-27T06:39:47Z")

</div>

hi  
where can i generate access token because i try to access api via postman with any zoom api  
i got

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/aaf7eac56998efee7cfb4560c69a287f942124ee.png) error 124 access token

1 i am try to create access toekn [https://developer.zoom.us/me/](https://developer.zoom.us/me/)  
also i reefer one artical [https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accountcreate](https://marketplace.zoom.us/docs/api-reference/zoom-api/accounts/accountcreate)

1. i also trie with jwt access token to generate access token and try that token in post man header but i got same error

so can you please let me know when i can generate access token and pass into post man as query parameter

---

<div class="post-metadata">

### Author: ![bdeanindy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/bdeanindy/32/154_2.png) [@bdeanindy](https://devforum.zoom.us/u/bdeanindy)
#### Post date: [December 27, 2018, 8:35pm UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824/2 "2018-12-27T20:35:40Z")

</div>

**Using the REST API w/ JWT**  
Zoom API Version 2 utilizes **JSON Web Tokens (JWT)** for authentication. To use Postman with the Zoom API, we need to provide a JWT. The easiest way to do this is to go to [jwt.io](http://jwt.io) and create one.

> (You will first need to go to your **developer account** page and get your API key/Secret to generate the token).

Build your JWT on the [jwt.io](http://jwt.io) by populating the **Decoded** section with the following. Replace the `<API_KEY>` and `<API_SECRET>` with your information, and set the expiration time ( `exp` ) in the payload to a future time. In your **Production** implementation, we recommend setting the `exp` to something short like 60 seconds.

**Using the REST API w/ OAuth2**  
You need to build an app using [https://marketplace.zoom.us](https://marketplace.zoom.us) to obtain your API Keys.  
Then, you’ll need to follow the [OAuth with Zoom](https://marketplace.zoom.us/docs/guides/authorization/oauth-with-zoom) docs to initiate the OAuth2 Authorization Flow. When you’ve received the `authorization_code`, you’ll exchange it for an `access_token`.

Then you can use that `access_token` to authenticate your REST API Requests.

Make sure to set the `scopes` on your app to implement the REST APIs you wish to consume in your app.

Once you have your `access_token` you can add it to the **Authorization** header as `Bearer <token>`

**AUTHORIZATION IN POSTMAN**

If you follow along with this documentation to download the Zoom API Postman Collection, and using the OAuth2 Client ID and Client Secret, you can EDIT the collection to include Authorization:

1. After you’ve downloaded and installed the Zoom API Postman Collection, right click and choose `Edit`
2. Choose the **Authorization** tab
3. Set **Type** === `OAuth 2.0`, make sure “Add auth data to” is set to `Request Headers`
4. Click on the button labeled **Get New Access Token**
5. Complete the form (replacing the template strings wrapped in double-braces with your values)  
 ![31%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/f8c76efaf72387861fa24a655ad844a43a02d42e.png)
6. Click on the button labeled **Request Token** , if successful, you’ll be shown the `access_token`, `refresh_token`, `scopes`, and other properties.
7. Click the button labeled **Use Token**
8. Click the button labeled **Update** to complete editing the collection.
9. Open one of the requests that is aligned with the scopes for your app, and click the **Authorization** tab, to make sure it is set to `Inherit auth from parent` (you can click the **Headers** tab to see the implicit Authorization header added with the access token you just obtained.
10. Click the button labeled “Send” to send the request, and see the response.

---

<div class="post-metadata">

### Author: ![if1](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@if1](https://devforum.zoom.us/u/if1)
#### Post date: [December 28, 2018, 7:00am UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824/3 "2018-12-28T07:00:42Z")

</div>

I am trying with [jwt.io](http://jwt.io) and createing access token but when i am using in post man that token with  
below url  
[https://api.zoom.us/v2/account/create?access\_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJDVXJDMFhBZlExRzh0V3JhSWJCb1BBIiwiZXhwIjoxNTE2MjM5MDIyfQ.\_bCL2uk09DPGWj38c-iU5CkJzq-XAs7WK3REAQ6\_T1c](https://api.zoom.us/v2/account/create?access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJDVXJDMFhBZlExRzh0V3JhSWJCb1BBIiwiZXhwIjoxNTE2MjM5MDIyfQ._bCL2uk09DPGWj38c-iU5CkJzq-XAs7WK3REAQ6_T1c)  
but i got an error 124 Access token is expired

---

<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: [December 28, 2018, 8:22pm UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824/4 "2018-12-28T20:22:47Z")

</div>

Hi @if1,

If you paste your token into [jwt.io](http://jwt.io) you will see that your token expired on Jan 17th 2018. You will need to input a time that is in the future for the exp **property**. Afterwards, the token should work.

 ![22%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/1X/c0ee4555d2c3ffa852c44e1e6919e5078d419d40.png)

---

<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, 6:01pm UTC](https://devforum.zoom.us/t/error-124-invalid-access-toke/2824/5 "2020-08-21T18:01:25Z")

</div>


