Hello everyone,
I have an application that uses Pipedrive’s App Sharing feature, and I have enabled this for my private development app. Currently, I’m facing an issue: I need to know which users have been assigned access to the app by the Admin within the organization.
According to the documentation, whenever a user installs the app or an admin removes the app from a user, a callback API call should be triggered. However, in my case, neither of these events is triggering any API calls.
For now, I am using the isShared flag to determine which users have access to the app and which do not.
If anyone has encountered this before, I would greatly appreciate any guidance or suggestions. Thank you in advance 
The uninstall events and OAuth callbacks all work fine, its specifically the app sharing assignment/removal callbacks that never fire. That sounds like a platform bug on Pipedrive’s side rather than a configuration issue on yours.
Your isShared flag workaround is probably the most reliable path for now. If you need to react to sharing changes in near real time rather than polling, you could set up a periodic check against the app users endpoint and diff against your last known state. Not elegant but its predictable.
Hello @sarfaraz187!
Thanks for sharing this. To receive these notifications, you need to request the Marketplace team to enable sharing notifications for your app, by sending an email to marketplace.devs@pipedrive.com. This missing info is a mistake in the docs and we will fix it ASAP.
Hello Ruben,
Thanks for your reply.
The isShared flag is actually from the pipedrive itself. It is not something i invented. I thought of going with your suggestion by periodically checking against the app users but the problem is that since admin can select which users he wants to give the access to against the number of licences they have bought i cannot find which users are.