I’m trying to test and get the access token using the Oauth v1 API endpoint and HS refresh token according to documentation, but in Postman, I always get this error. Do you know what’s wrong here?
You can use the following API curl attached
curl --request POST \
--url https://api.hubapi.com/oauth/v1/token \
--header 'content-type: application/x-www-form-urlencoded' \
--data 'grant_type=refresh_token&redirect_uri=Redirect_url&client_id=client_id&client_secret=client_secret&refresh_token=refresh_token'
I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.
Thanks!
