Creating new webhooks through API

true

additionally the user needs to be an admin, otherwise the admin scope will not be granted.

false, scope will be granted, so an app can try to call endpoints that are under the admin scope, but not all of the “admin endpoints” will respond with success.

As the Marketplace doesn’t restrict non-admin users from installing apps, your app will need to be able to handle users without admin rights installing the app, when the admin scope is required.

Let’s say your app does two things, create webhooks and pipelines in Pipedrive. When a non-admin user installs an app that requires admin scope, there is a warning message

after an app exchange on time code to access token, a response will include admin scope, so an app can call endpoints under that scope.

Screenshot 2021-08-26 at 13.18.46

It means that a non-admin user will be able to use only the webhooks part of your app, but the admin can use it fully.

Hope it clarified things a bit.

2 Likes