Return to Agent from API invoked transfer to secure IVR

I have a implicit grant flow javascript that is using the notifications API to monitor the my agent. This sis working successfully & i can receive & decode conversation events & perform hold/transfer/pause/resume/etc.

I'm trying to transfer an active call to a secure Flow for payment processing and return to the Agent when completed.

I'm using conversationsApi.postConversationParticipantSecureivrsessions to initiate the call, which uses /api/v2/conversations/--myConversationId--/participants/--MyAgentParticpiantId--/secureivrsessions

This API Call is successful, and the customer is transferred to my secure Flow and the customer can perform the flow tasks.

At the end of my secure flow I have a Return to Agent; However at this stage the call is dropped. In Architect on the Return to Agent it notes:

This action should only be used in secure call flows initiated by an agent and not a Transfer to Secure Flow action. See Help for more details.

From reading the help; I'm assuming that because I'm performing a transfer to secure flow, then that is why the Return to Agent fails & call disconnects.

So my question is what API call can I make to transfer a customer/initiate the secure flow that will return to the Agent?

Thank you

That should read
/api/v2/conversations/--myConversationId--/participants/--MyCUSTOMERParticpiantId--/secureivrsessions
sorry

My understanding is that you would set disconnect: false in the request body for POST /api/v2/conversations/{conversationId}/participants/{participantId}/secureivrsessions. This should keep the agent available for the caller to be returned to them. If this is what you're doing and the call is dropping, please open a case with PureCloud Care to investigate why the call is ending instead of being returned to an agent.

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