# Using Development local test authorized code failed to get token for API call

**URL:** <https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649>\
**Category:** API and Webhooks\
**Created:** [August 14, 2024, 4:15pm UTC](https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649 "2024-08-14T16:15:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![balancemy](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@balancemy](https://devforum.zoom.us/u/balancemy)\
**Post date:** [August 14, 2024, 4:15pm UTC](https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649/1 "2024-08-14T16:15:52Z")

</div>

I have created an admin managed app and i am using the local test environment added app with the returned code to call the get token api [https://zoom.us/oauth/token](https://zoom.us/oauth/token)

Here is my example to call using postman.

Header  
Content-Type: x-www-form-urlencoded  
Host: [zoom.us](http://zoom.us)  
Authorization: Basic {code} with the encoded client\_id and client\_secret

Body (x-www-form-urlencoded)  
code = {code} from the add app returned code local test  
grant\_type = authorization\_code  
redirect\_url = my main webpage url

result i get 400 bad request result.  
{  
“reason”: “Invalid client\_id or client\_secret”,  
“error”: “invalid\_client”  
}

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [August 15, 2024, 5:07pm UTC](https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649/2 "2024-08-15T17:07:06Z")

</div>

Hi @balancemy  
Thanks for reaching out to us.  
Here are a couple of links that will help you troubleshoot this on your end:

Link to our docs:

> **[OAuth 2.0](https://developers.zoom.us/docs/integrations/oauth/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Link to a guide from one of my colleagues

> [@Guide: Making a Zoom API Call with OAuth Credentials in Postman](https://devforum.zoom.us/t/guide-making-a-zoom-api-call-with-oauth-credentials-in-postman/64538):
>
> To publish an app on the Zoom Marketplace you must create an [OAuth app](https://marketplace.zoom.us/docs/guides/build/oauth-app/). When you’re ready to test making API calls, download the latest version of Postman and import the Zoom API collections following the steps outlined [here](https://marketplace.zoom.us/docs/guides/guides/postman/using-postman-to-test-zoom-apis/). There are Three Ways to Set up OAuth in Postman to Make API Requests We’re going to go through three ways to set up our OAuth application credentials to successfully authorize and access the Zoom API to make requests. The “Easy” Difficulty OAuth 2.0 Set Up in Postman We’…

Let me know if this is helpful!  
Cheers,  
elisa

---

<div class="post-metadata">

**Author:** ![balancemy](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@balancemy](https://devforum.zoom.us/u/balancemy)\
**Post date:** [August 27, 2024, 5:45pm UTC](https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649/3 "2024-08-27T17:45:15Z")

</div>

Hi Elisa,

Thanks for the information, now that i get to know how to authorize and get the token, but in my react native app once i allowed the scoped access, it redirect me to my allowed url but it didnt return to my mobile screen, am i missing something here?

Thanks for the help !

---

<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:** [August 31, 2025, 9:21am UTC](https://devforum.zoom.us/t/using-development-local-test-authorized-code-failed-to-get-token-for-api-call/115649/4 "2025-08-31T09:21:30Z")

</div>

Closed on August 31, 2025, 9:21am UTC

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