Hoping but not hopeful that maybe there's some combination that will allow for a data action to be called via agent script but for you to be able to include in the header of the request the user's bearer token? Thinking of most of the conversation APIs there.
Hello,
It is unfortunately not possible using a Data Action in a Script.
If you need to invoke the Platform API with a user context (logged in user), you would have to implement a small web app (exposed as an Interaction Widget in Genesys Cloud Web/Desktop app - possibly via a WebComponent in a Script) that triggers an authorization flow and invokes the Platform API.
Regards,
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.