You can do this using embedded framework notification API by subscribing to "v2.users.{userId}.conversations" topic.
Once agent is connected, you can start timer (setTimer API in JS) and can reset it on customer message.
Once timer (say 30 minute) expires, you can disconnect conversation using following API
PATCH /api/v2/conversations/messages/{conversationId}/participants/{participantId}
------------------------------
Parvez Alam
------------------------------
Original Message:
Sent: 09-25-2025 02:42
From: shravan das
Subject: Request for API to End Conversation on Agent Side – Genesys Open Messaging
Is there any endpoint in the Genesys Open Messaging platform that can be used to close or end an ongoing conversation on the agent side?
Our use case is as follows:
When a customer leaves the chat from our side (external system),
We want to ensure that the conversation is also closed on the Genesys agent side.
Does Open Messaging provide any API or mechanism to support ending the conversation?
Any guidance or documentation references would be greatly appreciated.
Thank you!
#Integrations
#PlatformAPI
#WebMessaging
------------------------------
shravan das
------------------------------