Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  MessagingService.conversationDisconnected - how to check if an agent disconnected

    Posted 04-30-2025 11:00

    Hello,

    Is there a way to find out if an agent was the one who disconnected the session? It will be used to trigger pop up survey.
    Genesys("subscribe", "MessagingService.conversationDisconnected", function() {} contains both system and agent disconnects.
    Is there any other command we can use?

    Thank you!


    #WebMessaging

    ------------------------------
    Marija Kovrlija
    NA
    ------------------------------


  • 2.  RE: MessagingService.conversationDisconnected - how to check if an agent disconnected

    Posted 05-02-2025 03:21

    Hello Marija,

    in the webmessaging API, this event should give you all details you need 

    https://developer.genesys.cloud/commdigital/digital/webmessaging/websocketapi#conversation-disconnect

    I don't get it what missing to address your use case ?  if the disconnect is done by the agent it will be notify in the event ("human")



    ------------------------------
    Frederic Thomas
    Senior Manager, Development
    ------------------------------