Skip to main content
TurnCall supports bidirectional server hooks. The platform calls your server URL and your response can influence call behavior.

Setup

Bind a phone number with routing_target_type: "webhook":
Or set server_url in the agent config for per-agent events.

Event Types

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:
Verify by computing HMAC-SHA256 over "timestamp.body" using the signing secret returned when you created the phone number.