Ending a Call in Amazon Connect via API SDK

0

I'm currently working with Amazon Connect and exploring its capabilities through the API SDK. I have a specific use case where an outbound call is fully managed by a bot, not by a human agent. Given the automated nature of the call, I'm looking for a way to programmatically end the call using the SDK when certain conditions are met.

I've gone through the documentation but couldn't find a direct method or function for this specific action. Has anyone here tried to achieve this or knows if it's possible? Any guidance or references would be greatly appreciated.

Thank you in advance!

Domu
asked 10 months ago287 views
1 Answer
1

You can use StopContact API which will ends the specified contact. This call does not work for voice contacts that use the following initiation methods:

  • DISCONNECT
  • TRANSFER
  • QUEUE_TRANSFER

Chat and task contacts, however, can be terminated in any state, regardless of initiation method.

AWS
answered 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions