Yes, Data Actions can't run APIs as a user, they can only use client credentials.
Same applies to APIs that affect ongoing conversations and require user context.
------------------------------
Jan Heinonen
Contact Center Specialist
GlobalConnect AB
------------------------------
Original Message:
Sent: 01-27-2023 00:10
From: Kenneth Roy Garcia
Subject: Data Action - API /api/v2/conversations - Different behavior in a Data Action and in https://developer.genesys.cloud
So this will always be blank? since the Oauth user will never have an interaction to begin with?
------------------------------
Kenneth Roy Garcia
HelloFresh
------------------------------
Original Message:
Sent: 01-26-2023 23:00
From: Robert Wakefield-Carl
Subject: Data Action - API /api/v2/conversations - Different behavior in a Data Action and in https://developer.genesys.cloud
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.com
https://RobertWC.Blogspot.com