cURL
curl --request POST \ --url http://localhost:8000/api/calls/outbound \ --header 'Content-Type: application/json' \ --header 'x-user-id: <x-user-id>' \ --data ' { "agent_id": "<string>", "phone_number": "<string>", "callback_url": "<string>" } '
{ "call_id": "<string>", "room_name": "<string>", "status": "RINGING" }
Initiate an outbound phone call via LiveKit SIP.
Creates a voice session, a LiveKit room, and dials the phone number.
Successful Response
RINGING
ANSWERED
COMPLETED
FAILED
NO_ANSWER