# Unable to create a webhook following the documentation

**URL:** <https://community.hubspot.com/t/unable-to-create-a-webhook-following-the-documentation/77227>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [March 15, 2023, 12:39pm UTC](https://community.hubspot.com/t/unable-to-create-a-webhook-following-the-documentation/77227 "2023-03-15T12:39:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ocalderon](https://avatars.discourse-cdn.com/v4/letter/o/ba9def/32.png) [@ocalderon](https://community.hubspot.com/u/ocalderon)\
**Post date:** [March 15, 2023, 12:39pm UTC](https://community.hubspot.com/t/unable-to-create-a-webhook-following-the-documentation/77227/1 "2023-03-15T12:39:08Z")

</div>

I’m trying to create a webhook to listen to changes in a company property. I am trying to follow the documentation in this link [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/webhooks) however it seems it is outdated.

At first, it is not possible to view application ID in the UI, but at least I’m able to see it in the URL. Then, according to the documentation I need the **crm.objects.contacts.read** scope, which the app already has, along with **crm.objects.companies.read**. However, when I call the PUT [https://api.hubapi.com/webhooks/v3/{appId}/settings](https://api.hubapi.com/webhooks/v3/%7BappId%7D/settings) with the following payload:

```lia-code-sample
{
 "throttling": {
 "period": "SECONDLY",
 "maxConcurrentRequests": 10
 },
 "targetUrl": "https://www.example.com/hubspot/target"
}

```

I get an error indicating that I don’t have enough scopes:

```lia-code-sample
{
	"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": "99882e34-9a97-403d-96c9-c06102cdd344",
	"links": {
		"support": "https://help.hubspot.com/",
		"forum": "https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations"
	},
	"category": "MISSING_SCOPES"
}

```

What are the scopes I’m missing to make that call, and why those don’t appear in the documentation? Also I cannot see any visual UI or menu option for configuring webhooks, that’s why I’m doing it via API.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [March 15, 2023, 7:39pm UTC](https://community.hubspot.com/t/unable-to-create-a-webhook-following-the-documentation/77227/2 "2023-03-15T19:39:38Z")

</div>

Hi, @ocalderon 👋 Based on your description, it sounds like you are using a Private App. Is that correct? I ask because you mentioned “_At first, it is not possible to view application ID in the UI_” which is true for Private Apps. You need to have a [Developer test account](https://developers.hubspot.com/docs/api/account-types#app-developer-accounts) and create your app there first.

[Webhooks](https://developers.hubspot.com/docs/api/webhooks#:~:text=Webhooks%20are%20set%20up%20for%20a%20HubSpot%20app%2C%20not%20individual%20accounts) are set up for a [HubSpot app](https://developers.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot), not individual accounts. Meaning, they do not work with Private Apps.

An overview of the needed steps:

- create an [app](https://legacydocs.hubspot.com/docs/faq/how-do-i-create-an-app-in-hubspot) in a Developer test account

 ![CleanShot 2023-03-15 at 13.29.09.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/0/60c23259dc8ad37b538c0f3b1958f20e680c9f3f.png)

- create your [subscriptions](https://developers.hubspot.com/docs/api/webhooks#webhook-subscriptions)
- get the OAuth flow set up
- then you can install the app in a specific portal and receive data from any webhook subscriptions you’ve created for your app

You can confirm you are in the correct account type by looking for the Developer test account banner in the upper left-hand corner. The banner is persistent in Developer test account. This is where you can find any apps you’ve created and access the needed info, such as the App ID.

 ![CleanShot 2023-03-15 at 13.25.38 3.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/e/f/efd0df513e3313fc6ae37dffced6cd27ddfcede6.png)

If it’s helpful, we have an [OAuth Quickstart Guide](https://developers.hubspot.com/docs/api/oauth-quickstart-guide) that covers all the needed steps to get set up.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![ocalderon](https://avatars.discourse-cdn.com/v4/letter/o/ba9def/32.png) [@ocalderon](https://community.hubspot.com/u/ocalderon)\
**Post date:** [March 15, 2023, 9:37pm UTC](https://community.hubspot.com/t/unable-to-create-a-webhook-following-the-documentation/77227/3 "2023-03-15T21:37:04Z")

</div>

Hi Jaycee, thanks for your reply! If I understand correctly, with a sandbox account I cannot create/configure webhooks?
