We are developing a hubspot App where we can send crm data from hubspot to our app and from our app to Hubspot.
At present when user installs our app we are using OAuth and our callback is getting hit.
But we are not getting any kind of notification when user uninstalls app.
We have uninstalled the app and fetched contacts using the access token. We are still able to make calls. Ideally the access token should not work. When we make a call to refresh tokens end point https://api.hubapi.com/oauth/v1/refresh-tokens/::token, then we are getting 404 error. But we cannot everytime make a request to refresh token even when access token is working.