APIs & Integrations

adnan
参加者 | Solutions Partner
参加者 | Solutions Partner

App uninstall alert

I am working on a project in which I am creating a custom portal which connects HubSpot Oauth2 process. Everything is working fine. HubSpot api is really good.

I have a question. Let suppose any of our customers uninstall our app from his

portal setting -> Integration. 

Is there any way that HubSpot inform me(api end point) that which portal uninstalled the app, so that i can delete data(token, refresh token) related to that portal from my side too? 

 

 Thank you. 

3件の返信
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

App uninstall alert

Hey, @adnan 

Glad you are enjoying the API.  always interested in knowing how you are using it 😀

Currently, there is no method, but there is an idea that has been submitted and you should upvote it (the more upvotes, the better)

0 いいね!
adnan
参加者 | Solutions Partner
参加者 | Solutions Partner

App uninstall alert

Thank you for your reply. I have voted.  👍

cameroncollecti
投稿者

App uninstall alert

@adnan, I would love to know how you dealt with the uninstalled user's token? When a user uninstalls, and my app goes to refresh the token, I recieve a BAD_REFRESH_TOKEN error. How does one know if something went wrong with the oAuth process or if a user uninstalled?