Hi, I have built a calling integration app. Everything is working fine, but I am stuck with the uninstall flow. When a user uninstalls the app from HubSpot (Settings → Integrations → Connected Apps → Uninstall), how can I remove the related database entries from my MongoDB? In my database, I store the installed app data such as portal ID, user ID, access token, and refresh token. How does the uninstall flow work? Please suggest the correct approach and best practices. Also, please suggest best practices for storing OAuth access tokens and refresh tokens, handling token refresh, and app verification/validation.
HubSpot Public App Uninstall flow and OAuth Best Practices
Related Post
Can’t create timeline event (HS claims it already exists)Can’t create timeline event (HS claims it already exists)
I have code that tries to create timeline events. Before creation, it checks if an event with the necessary ID already exists with `GET https://api.hubapi.com/crm/v3/timeline/[EVENT-TYPE-ID]/[EVENT-ID]` which gives me “404 Not Found” as a
Tasks not associating to dealTasks not associating to deal
No matter how i trigger a task within a deal or automation, when I go through tasks – it will bring me to the main company, not the deal where
Help with Email Suspension AppealHelp with Email Suspension Appeal
Hola comunidad de HubSpot:Recientemente suspendí el envío de correos electrónicos en mi cuenta de HubSpot debido a una infracción de los términos y condiciones. Sin embargo, creo que esta suspensión