{
"call_to": "+15559876543",
"call_from": "+15551234567",
"agent_id": "agent_abc",
"prompt_variables": {
"customer_name": "Alice",
"appointment_time": "3:00 PM"
}
}
{
"success": true,
"call_sid": "call_xyz789",
"to": "+15559876543",
"from": "+15551234567",
"agent_id": "agent_abc",
"call_type": "twilio",
"status": "initiated"
}
Calls
Make Outbound Call
POST
/
api
/
make-call
{
"call_to": "+15559876543",
"call_from": "+15551234567",
"agent_id": "agent_abc",
"prompt_variables": {
"customer_name": "Alice",
"appointment_time": "3:00 PM"
}
}
{
"success": true,
"call_sid": "call_xyz789",
"to": "+15559876543",
"from": "+15551234567",
"agent_id": "agent_abc",
"call_type": "twilio",
"status": "initiated"
}
Initiate an outbound call from an agent to a destination number.
Response
{
"call_to": "+15559876543",
"call_from": "+15551234567",
"agent_id": "agent_abc",
"prompt_variables": {
"customer_name": "Alice",
"appointment_time": "3:00 PM"
}
}
{
"success": true,
"call_sid": "call_xyz789",
"to": "+15559876543",
"from": "+15551234567",
"agent_id": "agent_abc",
"call_type": "twilio",
"status": "initiated"
}