I’m new to HubSpot and managed to workout the API - wow But there is something I don’t get.
To get the access code, you need https://app.hubspot.com/oauth/authorize you are redirected to a page and need to select a GUID (code) for the next call to get the OAuth? So far so good but then this code cannot be reused and the next call https://api.hubapi.com/oauth/v1/token has an expiry on the access token. I can’t see how, having to select and grant permission as a user in a browser, will work with an automated batch process that wants to update hubspot.
What am I doing wrong? Is there another way? Maybe by IP address or permanent token?