Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-02-2025 09:59

    Hi @Zino_Onokpise, @jacobshaw , @tim.smith , @Greg_Boston

     

    My Requirement is when we initiate a call for **Agent1** and the call is answered. Now I have transferred that call to **Agent2**. **Agent2** has picked up.
    Now in the backend how I can know that call is transferred or not.
    Is any specific key or any API to know whether transferred or not.

     

    I have used this API to know the agent is transferred or not.
    The data is coming from this API but in that agent object transferred key is not available
    API: get/api/v2/analytics/conversations/details

     Pease check the below screenshot.

    image

     

    This is the Conversation ID: 86f45809-790d-45ac-8de5-9296df27aec1

     Please let me know if any details are required. Thank you!

     


    #EmbeddableFramework
    #Integrations

    ------------------------------
    Sai Shankar
    x
    ------------------------------


  • 2.  RE: Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-03-2025 17:09

    You can look at the conversation segments in the `GET /api/v2/analytics/conversations/details` response to the the participant right before agent to see where the call came from.  If there are 2 agent segments with one agent in a disconnected state, that would indicate a transfer.



    ------------------------------
    Jacob Shaw
    Sr. Software Engineer
    ------------------------------



  • 3.  RE: Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-04-2025 08:26

    Hi @Jacob Shaw, for both agents in the segments object, I can see that the disconnectType is listed only as "client".

    image

     

    image

     

    I want to know whether it is transferred or not.

    Thank you!



    ------------------------------
    Sai Shankar
    x
    ------------------------------



  • 4.  RE: Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-09-2025 10:15

    Hi @Jacob Shaw Could you please provide a solution on this.



    ------------------------------
    Sai Shankar
    x
    ------------------------------



  • 5.  RE: Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-09-2025 13:00

    You could also use the "nTransferred" metric in a conversation filter in the query to filter for calls that contain a transfer. Something like this:
    ```json

    {
      "conversationFilters": [
        {
          "type": "and",
          "predicates": [
            {
              "type": "metric",
              "metric": "nTransferred",
              "operator": "exists"
            }
          ]
        }
      ],
      "interval": "YYYY-MM-DDThh:mm:ss/YYYY-MM-DDThh:mm:ss"
    }
    ```



    ------------------------------
    Jacob Shaw
    Sr. Software Engineer
    ------------------------------



  • 6.  RE: Any specific key to identify the call is transferred from one Agent to another Agent

    Posted 04-10-2025 11:27

    Additionally, I spoke with the conversation team, and they informed me that the transfered disconnectType is present in the conversation, just not in the communication you posted the screenshot of.



    ------------------------------
    Jacob Shaw
    Sr. Software Engineer
    ------------------------------