Remember that when you run in API Explorer, you are logged in as you and uses your roles/permissions for the call. When you use a Data Action, it is based on the OAuth that is setup in the Integrations that the data action is running under. You should check the OAuth for the roles assigned and make sure it has access to conversation details like your user.
------------------------------
Robert Wakefield-Carl
TTEC Digital, LLC fka Avtex Solutions, LLC
Contact Center Innovation Architect
https://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 01-26-2023 22:43
From: Kenneth Roy Garcia
Subject: Data Action - API /api/v2/conversations - Different behavior in a Data Action and in https://developer.genesys.cloud
Why is the /api/v2/conversations have a different behavior in a Data Action and in https://developer.genesys.cloud?
When I run the API in Genesys Cloud Developer Center it works just fine.
Data actions returns blank
So this is a raw request with no inputs and from what I understand the API call assumes the authentication token comes from the active user, and the data action gets the authentication token from the OAuth client configured in the Integration.
Objective: Get the communicationid
#ArchitectureandDesign
------------------------------
Kenneth Roy Garcia
HelloFresh
------------------------------