Skip to main content
POST
/
calls
/
v1
/
conversations
/
{id}
/
control
Control Call
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
  }
}

Authorizations

Authorization
string
header
required

Retrieve your API Key from Dashboard API Keys Section.

Path Parameters

id
string
required

Unique identifier of the call

Body

application/json
type
enum<string>
required

This is the type of the control you would like to make to the call.

Available options:
say,
end,
forward,
dtmf,
sms
Example:

"say"

message
string
required

Provide the message to the assistant to say.

Example:

"hi there"

Response

200 - application/json

Successful response

message
string
Example:

"Call controlled successfully."

data
object