Skip to main content

Request Body

type
string
default:"web"
Call type: web (browser) or outbound (phone)
agent_id
string
required
Agent public ID (ag_*)
phone_number_id
integer
Phone number to call from
customer.number
string
Customer phone (E.164)
customer.name
string
Customer display name
voice_config
object
default:"Agent default"
Override STT/TTS config

Web Call

Creates a browser-based voice session. Returns a LiveKit token for the client to connect.

Response 201


Outbound Phone Call

Initiates an outbound phone call via Twilio/Vobiz SIP.

Response 201


Errors