Setup
Bind a phone number withrouting_target_type: "webhook":
server_url in the agent config for per-agent events.
Event Types
| Event | When | Response Controls |
|---|---|---|
call-init | Before agent selection | Which agent + variables |
function-call | Tool execution | Tool result |
call-end | After call ends | — |
status-update | Call status changes | — |
transcript-update | Transcript updates | — |
speech-update | Speaking events | — |
function-call
Sent when the agent calls a tool (alternative to per-tool webhook URLs).Request
Response
call-end
Sent after a call ends. Fire-and-forget (response ignored).Signature Verification
All server events include HMAC-SHA256 signatures:"timestamp.body" using the signing secret returned when you created the phone number.