https://api.hubapi.com/webhooks/v3/{appID}/subscriptions

{

"status": "error",

"message": "The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.",

"correlationId": "",

"links": {

    "support": "https://help.hubspot.com/",

    "forum": "https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"

},

"category": "MISSING\_SCOPES"

}
i am trying to get subscriptions from app
and if customer disconnect the integration what is the way to stop webhook

Hi @riteshyadav :waving_hand:

All endpoints within HubSpot’s Webhooks API are intended only for use relevant to HubSpot “Public Apps”. This is why the only method listed in “Auth Methods” for these endpoints is “Developer account API key”.

I’m guessing you are trying to authenticate using a HubSpot “Private App”? If so, deleting the Private App (or disabling the configured webhook subscriptions within it) will stop the webhook events from being sent to the given external endpoint.

I hope this proves helpful. Please let me know if you have any follow-up questions.