APIs & Integrations

AMurphy31
Participant

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

Using these docs: https://developers.hubspot.com/beta-docs/guides/api/app-management/webhooks#delete-a-subscription I see the webhooks/v3/{appId}/subscriptions/{subscriptionId} endpoint but I do not know the customer's subscription ID. I have attempted to hit the `https://api.hubapi.com/webhooks/v3/{appId}/subscriptions` endpoint but it says it requires an api key. How do I get this API key? The docs point to https://developers.hubspot.com/docs/faq/developer-api-keys, but the link is broken. The Hubspot API key from the https://app.hubspot.com/developer/[ID HERE]/applications does not work. 

0 Upvotes
1 Accepted solution
HubDoPete
Solution
Guide | Gold Partner
Guide | Gold Partner

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

Thanks Mike and hi Amanda @AMurphy31 

 

Amanda I feel your pain. Today (unless HubSpot has a neat surprise in store) you cannot force your public app to be uninstalled from a customer portal.

 

Some of our apps, like DoPricer, receive thousands of line item webhooks from portals that ran a free trial. We can only try and reach each customer and request they uninstall our app.

 

I call these "zombie" webhooks. Roaming the planet from dead portals that do not reply 🙂

 

We have now optimised our webhook receiving endpoints to discard Zombie-spawning portal IDs that we know are inactive, to reduce processing cost/load.

 

I hope HubSpot will soon let developers uninstall. Today it is in the hands of the portal owners.

 

best

Pete

 

Now I lie in wait, quietly watching the zombies pass by, hoping this note will attract a reply of "Good news! The Zombie webhook slaying API call is here!!"  

 

View solution in original post

4 Replies 4
FarioConsulting
Top Contributor

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

Hi @AMurphy31 

 

The API keys are no longer the way to go.
Now, you've got to use either use private app access tokens or go via the OAuth route for authentication.

 

Cheers,

Harsh

Fario Consulting

0 Upvotes
AMurphy31
Participant

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

The question is, how do I stop Hubspot from sending webhooks on behalf of a specific customer? How do I uninstall their instance of my HubSpot app? I do no have OAuth because their install failed and a private app would not have access to my public app. 

0 Upvotes
Mike_Eastwood
Key Advisor | Gold Partner
Key Advisor | Gold Partner

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

Hi @AMurphy31 

 

Looping @HubDoPete because I remeber him mentioning this issue in a webinar we did last year.

 

Hopefully Pete can help?

 

Mike

 

Here to learn more about HubSpot and share my HubSpot Knowledge. I'm the founder of Webalite a Gold HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world's first automated HubSpot Portal Audit that helps you work smarter with HubSpot.

HubDoPete
Solution
Guide | Gold Partner
Guide | Gold Partner

I'd like to uninstall our app from a churned customers account so that it stops sending us webhooks

SOLVE

Thanks Mike and hi Amanda @AMurphy31 

 

Amanda I feel your pain. Today (unless HubSpot has a neat surprise in store) you cannot force your public app to be uninstalled from a customer portal.

 

Some of our apps, like DoPricer, receive thousands of line item webhooks from portals that ran a free trial. We can only try and reach each customer and request they uninstall our app.

 

I call these "zombie" webhooks. Roaming the planet from dead portals that do not reply 🙂

 

We have now optimised our webhook receiving endpoints to discard Zombie-spawning portal IDs that we know are inactive, to reduce processing cost/load.

 

I hope HubSpot will soon let developers uninstall. Today it is in the hands of the portal owners.

 

best

Pete

 

Now I lie in wait, quietly watching the zombies pass by, hoping this note will attract a reply of "Good news! The Zombie webhook slaying API call is here!!"