APIs & Integrations

Thelio
Member

403 ERROR on POST /oauth/v1/token

SOLVE

Hello, guys!

I'm trying to get an Access Token like the way it is explained in this link: https://developers.hubspot.com/docs/methods/oauth2/get-access-and-refresh-tokens

I already got the Authorization Code and my POST to the endpoint /oauth/v1/token is like:

What could this be? Can you help me?

Thanks!

0 Upvotes
1 Accepted solution
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

403 ERROR on POST /oauth/v1/token

SOLVE

Hi @Thelio,

The domain of your request URL must be api.hubspot.com, not app.hubspot.com.

View solution in original post

2 Replies 2
Derek_Gervais
Solution
HubSpot Alumni
HubSpot Alumni

403 ERROR on POST /oauth/v1/token

SOLVE

Hi @Thelio,

The domain of your request URL must be api.hubspot.com, not app.hubspot.com.

Thelio
Member

403 ERROR on POST /oauth/v1/token

SOLVE

Thanks, Derek! I got the token