# Oauth Authetication for APIs

**URL:** <https://community.hubspot.com/t/oauth-authetication-for-apis/109244>\
**Category:** APIs & Integrations\
**Tags:** free\
**Created:** [June 12, 2024, 6:29pm UTC](https://community.hubspot.com/t/oauth-authetication-for-apis/109244 "2024-06-12T18:29:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![calebgib](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@calebgib](https://community.hubspot.com/u/calebgib)\
**Post date:** [June 12, 2024, 6:29pm UTC](https://community.hubspot.com/t/oauth-authetication-for-apis/109244/1 "2024-06-12T18:29:06Z")

</div>

I am trying to setup an oauth authorization in Postman to retrieve an access token to use to interact with Hubspot APIs. After inputting my app information and clicking “Get New Access Token”, I am prompted to login to my developer account. When doing so, I am granted this error. Has anyone ever seen this?

 ![calebgib_0-1718216936486.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/4/142116a6c29946231e400a1ae7fb87c6cb907961.png)

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 14, 2024, 12:31am UTC](https://community.hubspot.com/t/oauth-authetication-for-apis/109244/2 "2024-06-14T00:31:57Z")

</div>

Hey, @calebgib 👋 Thanks for your question. To confirm, you are using this option in Postman, correct?

 ![CleanShot 2024-06-13 at 18.27.56@2x.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/b/9b0b80aac1ac1528f627a1df40d4a8d6427ab4a1.png)

Additionally, are you trying to log in into an [App Developer account](https://developers.hubspot.com/docs/api/account-types#app-developer-accounts)? Or an [App Test Account](https://developers.hubspot.com/docs/api/account-types#developer-test-accounts)?

If not, can you clarify what [account type](https://developers.hubspot.com/docs/api/account-types) you are trying to use, please?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![calebgib](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@calebgib](https://community.hubspot.com/u/calebgib)\
**Post date:** [June 14, 2024, 5:14pm UTC](https://community.hubspot.com/t/oauth-authetication-for-apis/109244/3 "2024-06-14T17:14:04Z")

</div>

Jaycee,

I was not using the correct Authorization type. After changing that, I was able to get an access token and used that to make API calls. Thanks for your help.
