APIs & Integrations

BShahzad
Member

Unable to create webhook through API

SOLVE

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

BShahzad_0-1712269454258.png

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

0 Upvotes
1 Accepted solution
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Unable to create webhook through API

SOLVE

Hi @BShahzad ,

 

Are you using your developer API key to authorize with this specific endpoint? If not, that might be the issue.
(https://developers.hubspot.com/docs/api/webhooks#manage-settings-via-api



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


View solution in original post

0 Upvotes
4 Replies 4
Teun
Solution
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

Unable to create webhook through API

SOLVE

Hi @BShahzad ,

 

Are you using your developer API key to authorize with this specific endpoint? If not, that might be the issue.
(https://developers.hubspot.com/docs/api/webhooks#manage-settings-via-api



Learn more about HubSpot by following me on LinkedIn or YouTube

Did my answer solve your issue? Help the community by marking it as the solution.


0 Upvotes
gayathri139
Member

Unable to create webhook through API

SOLVE

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

0 Upvotes
Jaycee_Lewis
Community Manager
Community Manager

Unable to create webhook through API

SOLVE

Hey, @gayathri139 👋 You have to use your Developer API key for the Webhooks API. — Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes
gayathri139
Member

Unable to create webhook through API

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