# Unable to create webhook through API

**URL:** <https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170>\
**Category:** APIs & Integrations\
**Tags:** webhooks\
**Created:** [April 4, 2024, 10:27pm UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170 "2024-04-04T22:27:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![BShahzad](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@BShahzad](https://community.hubspot.com/u/BShahzad)\
**Post date:** [April 4, 2024, 10:27pm UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170/1 "2024-04-04T22:27:11Z")

</div>

Our company’s usecase is, we are trying to register a webhook through API.

 ![BShahzad_0-1712269454258.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/5d4992f7873da54ccf75e90d16814f63af8c3fe3.png)

But the error message indicates that scopes are not provided even though i have added all the scopes available in app settings.

---

<div class="post-metadata">

**Author:** ![Teun](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/teun/32/28739_2.png) [@Teun](https://community.hubspot.com/u/Teun)\
**Post date:** [April 5, 2024, 8:22pm UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170/2 "2024-04-05T20:22:47Z")

</div>

Hi @BShahzad ,

Are you using your [developer API key](https://legacydocs.hubspot.com/docs/faq/developer-api-keys) to authorize with this specific endpoint? If not, that might be the issue.  
([Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/webhooks#manage-settings-via-api))

---

<div class="post-metadata">

**Author:** ![gayathri139](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gayathri139](https://community.hubspot.com/u/gayathri139)\
**Post date:** [April 22, 2024, 2:10pm UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170/3 "2024-04-22T14:10:51Z")

</div>

Can we create the webhook through API using access token(from oauth)

---

<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:** [April 25, 2024, 11:34pm UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170/4 "2024-04-25T23:34:59Z")

</div>

Hey, @gayathri139 👋 You have to use your [Developer API key](https://legacydocs.hubspot.com/docs/faq/developer-api-keys) for the Webhooks API. — Jaycee

---

<div class="post-metadata">

**Author:** ![gayathri139](https://avatars.discourse-cdn.com/v4/letter/g/4da419/32.png) [@gayathri139](https://community.hubspot.com/u/gayathri139)\
**Post date:** [April 26, 2024, 7:06am UTC](https://community.hubspot.com/t/unable-to-create-webhook-through-api/104170/5 "2024-04-26T07:06:26Z")

</div>

Can i add more than one webhook url in a app.
