# Invalid token in test zoom api

**URL:** <https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758>\
**Category:** API and Webhooks\
**Tags:** dc\
**Created:** [August 10, 2020, 9:58pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758 "2020-08-10T21:58:59Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![weallteach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/weallteach/32/5575_2.png) [@weallteach](https://devforum.zoom.us/u/weallteach)\
**Post date:** [August 10, 2020, 9:58pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/1 "2020-08-10T21:58:59Z")

</div>

**Description**  
i created an auth app and use the installation url as access token in testing api

**Error**  
{  
“code”: 124,  
“message”: “Invalid access token.”  
}

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

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users](https://api.zoom.us/v2/users)

**How To Reproduce (If applicable)**  
if you go page [https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users)  
put access token from my app .

my app name is test1.

---

<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 10, 2020, 9:59pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/2 "2020-08-10T21:59:16Z")

</div>

Hey @weallteach

Thanks for posting on the Zoom Devforum! I am still learning, but I will try my best to help answer your question. 🙂

Checkout these related threads that may have the answer you are looking for:

> [@Invalid access token for account API](https://devforum.zoom.us/t/-/1827):
>
> Hi, i want to ask why if i test all API Accounts always return “Invalid access token.”… but if i use the same token to access user Api or anything, it worked. I’m using pro account n as an owner when test the account API. Is it a bug ? Or there is a missing parameter in documentation API ? My code is like this : GET [https://api.zoom.us/v2/accounts?access\_token=xxx&page\_number=1&page\_size=30](https://api.zoom.us/v2/accounts?access_token=xxx&page_number=1&page_size=30) Thanks

> [@Invalid Access Token While Tested Through Zoom API -\> Get Sub Account](https://devforum.zoom.us/t/-/8665):
>
> Hi, My mail ID ([debasish.bh@orionedutech.com](mailto:debasish.bh@orionedutech.com)) is registered as licensed user. I created a JWT token. While tried to validate through Zoom API-\>Accoutns-\>Get A Sub Account, it shows “Invalid Access Token”. SS is attached for reference. Kindly assist. Rgds, Debasish

> [@Invalid access token for particular API endpoint](https://devforum.zoom.us/t/-/7534):
>
> I am trying to call this API “[https://api.zoom.us/v2/accounts](https://api.zoom.us/v2/accounts)” and it says invalid access token despite i sent the access token with the correct scope. Somehow when I tried to call another API with the same access token it does work. I am using OAuth to get the access token

If these threads did not help, please let us know by replying back here and someone from the Developer Relations team will get back to you shortly.

Thanks,  
DeveloperBot

---

<div class="post-metadata">

**Author:** ![weallteach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/weallteach/32/5575_2.png) [@weallteach](https://devforum.zoom.us/u/weallteach)\
**Post date:** [August 10, 2020, 10:02pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/3 "2020-08-10T22:02:58Z")

</div>

im not testing account api, i only want to test users and meetings. would that require master account too ?

---

<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 10, 2020, 10:38pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/4 "2020-08-10T22:38:26Z")

</div>

Hey @weallteach,

Did you follow the OAuth guide here to get an access token?

> **[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:** ![weallteach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/weallteach/32/5575_2.png) [@weallteach](https://devforum.zoom.us/u/weallteach)\
**Post date:** [August 10, 2020, 11:55pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/5 "2020-08-10T23:55:44Z")

</div>

I created oath app, installed it, should the installed url be the access token?

---

<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 11, 2020, 4:45am UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/6 "2020-08-11T04:45:40Z")

</div>

Hey @weallteach,

No, the install url is not the access token.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![weallteach](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/weallteach/32/5575_2.png) [@weallteach](https://devforum.zoom.us/u/weallteach)\
**Post date:** [August 11, 2020, 3:28pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/7 "2020-08-11T15:28:33Z")

</div>

thanks for clarifying it! so i was able to use the button generating access token on test api later. but when im creating meeting api, i got this. would you know if there is special handling in test api

> **[Create a Meeting - Meetings - Zoom API - API Reference](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate)**
>
> Create a meeting for a user. This API has a daily rate limit of 100 requests per day. Therefore, only 100 Create a Meeting API requests are permitted wi...

  
{  
“code”: 300,  
“message”: “Request Body should be a valid JSON object.”  
}

thanks!

---

<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 11, 2020, 6:00pm UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/8 "2020-08-11T18:00:12Z")

</div>

Hey @weallteach,

Nice job! Okay for this issue, please share your request body JSON so I can debug.

Thanks,  
Tommy

---

<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 11, 2020, 4:00am UTC](https://devforum.zoom.us/t/invalid-token-in-test-zoom-api/26758/9 "2020-09-11T04:00:15Z")

</div>

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