Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  merge calls using Conversation API

    Posted 07-13-2021 15:40
    No replies, thread closed.
    Good Day

    I am would like to use the Conversation API to merge 2 calls, while I can use a number of the other API calls to hold, disconnect, etc. I am struggling to get the correct format for the conversation boy parameter.

    I typically seem to get the error "A conversation cannot be merged with itself." which leads me to believe I am using the wrong information from the conversationList Object.

    Any help/examples/direction much appreciated.

    I am using the "Conversation patchConverstationsCall(conversationId, Body) in Javascript

    j.


    #Ask Me Anything (AMA)
    #Implementation
    #Integrations

    ------------------------------
    jeff russell
    Alberta Health Services
    ------------------------------


  • 2.  RE: merge calls using Conversation API

    Posted 08-12-2025 05:18
    No replies, thread closed.

    Hi Jeff, did you solve it? maybe you have an example ;)  KR, Steffen



    ------------------------------
    Steffen Urban
    Head of Unified Communications
    ------------------------------



  • 3.  RE: merge calls using Conversation API
    Best Answer

    Posted 08-13-2025 17:22
    No replies, thread closed.

    The example is in the JavaScript SDK documentation: https://mypurecloud.github.io/platform-client-sdk-javascript/ConversationsApi#patchConversationsCall

    The body is to match what's in the API call doc: https://developer.genesys.cloud/devapps/api-explorer#patch-api-v2-conversations-calls--conversationId-

    That has a ton of possibilities, but to merge (aka conference) multiple calls together, the first call's ID is used for conversationId and the body would have the other conversationId(s), something like:

    {
        "conversationIds":  [
        "a0718cc8-34b6-4b22-988a-d62f2ddd032c",
        "57f9af03-7946-418f-a564-95da6a03f6cf"
      ]
    }


    ------------------------------
    George Ganahl GCCX-AI, GCP, GCSME, ICCE, ICHD, etc.
    Technical Adoption Champion
    Genesys
    2024 Community Member of the Year
    ------------------------------



  • 4.  RE: merge calls using Conversation API

    Posted 08-13-2025 19:25
    No replies, thread closed.

    I did, for my particular project I needed to conference (merge) multiple calls, but was only successful in merging two, after that I believe there has to be some WebRTC stuff needed.

    j.



    ------------------------------
    Jeff Russell
    Senior Voice Analyst
    ------------------------------