Legacy Dev Forum Posts

 View Only

Sign Up

  • 1.  Voice call transfer

    Posted 06-05-2025 18:06

    epsantos | 2021-04-09 14:08:10 UTC | #1

    Hi,

    I'm trying to make a transfer using the endpoint: /api/v2/conversations/calls/{conversationId}/participants/{participantId}. the cloud api is returning the following error, in some requests

    {"message":"You can only transfer conversations that are in the connected state.", "code":"conversations.error.transfer.not.connected","status":400,"messageWithParams": "You can only transfer conversations that are in the connected state.","messageParams":{}, "contextId":"d32de4f3-88fb-4b55-b2f6-5267f6edea93","details":[],"errors":[]}

    Why does it happen?


    draeder | 2021-04-11 00:57:57 UTC | #2

    Based on the error, it appears that the conversation participant isn't in a connected state when you want to transfer it. You would probably want to add logic to check if the conversation and participant is connected before you try to transfer it.

    See: https://developer.mypurecloud.com/api/rest/v2/conversations/overview.html

    Thanks, Dan


    system | 2021-05-12 00:55:55 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 10571