Skip to main content

Hand the call from the assistant to a person

DELETE 

/api/calls/:callId/ai

Escalation, which is the feature working rather than failing. The customer's leg is untouched — only the model stops — and the call is left standing for somebody to pick up.

The caller is then PARKED ON HOLD MUSIC (the line's hold source chain) so they do not sit in silence; the row reads hold_reason ai_handover, ai.state escalating and ai.on_hold true, and context.on_hold in this response says whether the park took. Any person takes the call with the ordinary agent leg (POST /api/calls/{callId}/webrtc, reason takeover); the server lifts the park when that leg carries audio. A bridge without queue_hold leaves the call unparked, exactly as before.

Request​

Responses​

The assistant was detached.