webhooks
A leg is ringing. DELIVERED TWICE on a call that reaches a bridge: once when the business is dialed (previous_state "created") and again when the consumer is dialed after a human was confirmed (previous_state "converse", "human" or "prep_line"). Use `state` to tell the two apart; do not count deliveries.
Sent when a session enters one of: dialing_business, dialing_consumer. Authenticate it with the HMAC signature described on BridgeWebhookEvent before trusting any field. Respond 2xx as soon as you have durably accepted it; any non-2xx, or a response slower than the per-attempt timeout, is treated as a failure and retried.
postWebhookbridge.dialing
Payload
Example payload
{
"event_id": "vbe_4021_88213",
"session_id": 4021,
"type": "bridge.bridged",
"state": "bridged",
"previous_state": "bridging",
"amd_result": "human"
}Response
Accepted. Any 2xx is treated as success.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.