Hello,
I tried to create a function, that is via Zendesk API, only available for admins. In order to allow the functionality for agents, I added a token into the app, via secure settings, and used this for the API call.
Strange enough, it works fine for admins, but not anymore for agents. Authorization denied. Changing the role of the agent to Admin, makes it work.
Now I thought, maybe with a bearer token, but no, it is the same thing.
The strange thing is, it should work with a third party app, which I will do now. But what is this odd setup? Why do I have to use a third party to do the exact same thing? Why is one allowed and not the other?
Thank you
Sebastian