cURL
curl --request POST \ --url https://api-prod.interactly.ai/calls/v1/conversations/{id}/control \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "type": "say", "message": "hi there" } '
{ "message": "Call controlled successfully.", "data": { "success": true } }
This API will allow you to control the call.
Retrieve your API Key from Dashboard API Keys Section.
Unique identifier of the call
This is the type of the control you would like to make to the call.
say
end
forward
dtmf
sms
"say"
Provide the message to the assistant to say.
"hi there"
Successful response
"Call controlled successfully."
Show child attributes
True if the call is controlled successfully.
true