403 ERROR on POST /oauth/v1/token



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?



Hi @Thelio,

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


Thanks, Derek! I got the token