# APi . testing the functions

**URL:** <https://devforum.zoom.us/t/api-testing-the-functions/5090>\
**Category:** API and Webhooks\
**Created:** [July 18, 2019, 12:36pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090 "2019-07-18T12:36:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rich/32/1029_2.png) [@rich](https://devforum.zoom.us/u/rich)\
**Post date:** [July 18, 2019, 12:36pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090/1 "2019-07-18T12:36:24Z")

</div>

I am on the API reference page and there’s a test request form at the footer of the page

when I try to send a request, I get “Invalid Access Token”

yep ok. so I created a JWT app and I click on get access token and past the client ID and key from my JWT app credentials and I get this message

clientId : cjakotxHRRW4x8XQihD13g cannot be invoked by userId : XXXMxyKRRhOz1obX4Z0I6g (4,700)

what am I doing wrong ?

---

<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:** [July 18, 2019, 3:12pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090/2 "2019-07-18T15:12:33Z")

</div>

Hi Rich,

The **Get Access token** dialog boxes for Client ID and secret are for inputing your client ID & Secret from OAuth based apps and not JWT apps. A workaround would be to go to your JWT app, under **View JWT token** [1], you’ll see an already generated JWT token for you account. Copy the JWT token and paste it, where it says **oauth\_access\_token** (see screenshot below), then press Send.

![07%20AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/4/456d3d12a1b74335aa2025bdaef8e4e2ab66d903.png)

1- [https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom#jwt-for-testing](https://marketplace.zoom.us/docs/guides/authorization/jwt/jwt-with-zoom#jwt-for-testing)

Let me know if that helps!

Thanks

---

<div class="post-metadata">

**Author:** ![rich](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/rich/32/1029_2.png) [@rich](https://devforum.zoom.us/u/rich)\
**Post date:** [July 18, 2019, 3:40pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090/3 "2019-07-18T15:40:10Z")

</div>

yep that’s sussed it , thanks !

---

<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:** [July 18, 2019, 3:48pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090/4 "2019-07-18T15:48:12Z")

</div>

@rich,

We’re glad that it worked for you, let us know if you need anything else!

Thanks

---

<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:35pm UTC](https://devforum.zoom.us/t/api-testing-the-functions/5090/5 "2020-08-21T18:35:00Z")

</div>


