How can i create webhooks programatically, that will apply to the all pipedrive accounts integrated with the sandbox account. Currently webhooks section in my Accounts UI only works for single account

hello developers,
i have found a unusual feature in pipedrive, is there a way to create webhooks that will work for all integrated account.(or is there a way to create webhooks that will work for all accounts)

Hello @Sharad!

There is an API that allows the app to create webhooks:
https://developers.pipedrive.com/docs/api/v1/Webhooks#addWebhook
Apps usually create the necessary webhooks when the user installs the app, by using the API.
Webhooks in PD are always sent to the specified URL.