403 ERROR on POST /oauth/v1/token

oauth

#1

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!


#2

Hi @Thelio,

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


#3

Thanks, Derek! I got the token