Hello,
Yes, you can update the participant data/participant attributes of an ongoing interaction.
You can use the following endpoint: PATCH /api/v2/conversations/{conversationId}/participants/{participantId}/attributes
ConversationId is the id of your conversation.
ParticipantId is the id of a participants in this conversation under which you want to store the participant data (usually the participant with purpose = customer).
Regards,
------------------------------
Jerome Saint-Marc
Senior Development Support Engineer
------------------------------
Original Message:
Sent: 06-23-2025 07:56
From: Cezary Rynkowski
Subject: Manually add participant data to an active interaction via the API
Hi,
I have a use case and would appreciate some guidance on whether it's supported through the Genesys Cloud APIs.
During an inbound voice interaction, the agent is actively speaking with a customer. At some point during the call, the agent clicks a button in an external system (like a CRM), and this action should add a flag (e.g., "customFlag": "true") to the participantData associated with the interaction.
My questions are:
Is there an API or mechanism that allows manually adding or updating participantData during an ongoing interaction (i.e., before the conversation is completed)?
If not, is there any alternative way to associate custom data with the interaction that can be retrieved later for reporting or post-processing?
Any suggestions or best practices would be greatly appreciated.
#PlatformAPI
------------------------------
Cezary Rynkowski
Solution Architect
------------------------------