Calls
Send a live control
Steers a browser or realtime call while it is in progress. Send it from your backend.
{"type": "instruction", "text": …}(1–1,000 characters) gives the agent a direction it follows from its next reply for the rest of the call. It isn’t read aloud.{"type": "close", "message": …}speaksmessage(optional, up to 500 characters) as a goodbye and ends the call:completed,ended_reason: api-ended-call, billed like any completed call. Withoutmessagethe agent uses its own closing line.
It answers 200 when the live call confirmed it within 3 seconds (applied, or rejected with a reason), and 202 with status: pending otherwise. Check a pending one with Get a live control. The call must be live: still queued (the page hasn’t connected) or already ended is a 409 call_not_active.
Send an Idempotency-Key. A repeat with the same key returns the same control and is never delivered twice, so a retry can’t make the agent say goodbye twice.
POST
Send a live control
Authorizations
Headers
Response
Applied by the live call
Send a live control