Hi Jarvish.
Most of the call control requests under the Conversation API require a user context. Data Action do not operate under a user context because they authenticate with an OAuth client credentials grant. To my knowledge, Scripter does not yet offer a built-in Conference action, but that would be a good candidate for you to open an Idea on the Genesys Cloud Ideas Portal
If you have some basic HTML/Javascript skills or access to a developer that does then you could create an Interaction Widget that would sit with the other widgets on the right side of the interaction handling UI and from there you can code up that request. Interaction Widgets do run under a user context so they can make call control requests.
DM me if you need any samples to get started.
------------------------------
Jim Crespino
Senior Director, Developer Evangelism
Genesys
https://developer.genesys.com------------------------------
Original Message:
Sent: 10-03-2024 04:30
From: Jarvish Kisanth Singh
Subject: Need to Initate conference using a cusom button in agent script
Hi All,
I'm trying to implement direct conference button in genesys cloud.
I created a data action to add participant using the below api
/api/v2/conversations/calls/${input.conversationId}/participants
but this api throws an error " not a user"
How can we call these user based Oauth apis?
Regards,
Jarvish Kisanth Singh
#API/Integrations
------------------------------
Jarvish Kisanth Singh
Voya Services Company
------------------------------