Actually, I have a premium app that uses widgets (APIs) to create a few things like roles, groups and interaction widgets. Similarly, I am using APIs to create an audiohook monitor, however it is failing if the instance already has two audiohooks installed. I have heard that there can be more than two audiohooks in a production instance.
so how can I use APIs to address this?
Usecase: Before installing it on an instance, the audiohook count needs to be verified. whether it's a production environment or a sandbox.
Please assist in this.