voice.session_ended
Webhook events · Voice
A voice session closed.
Subscribe
curl
curl https://api.chronapilot.com/v1/webhook_endpoints \ -X POST \ -H "Authorization: Bearer sk_live_…" \ -d '{ "url": "https://your-app.com/webhooks/chronapilot", "events": ["voice.session_ended"] }'
Delivery payload
JSON
{
"id": "whe_8x9y0z1a2b",
"type": "voice.session_ended",
"api_version": "2026-05-20",
"created": 1716247200,
"data": {
"object": {
"session_id": "hub_9stu0vwx1yza",
"duration_seconds": 124,
"closed_reason": "client_close"
}
},
"livemode": true,
"request_id": "req_1A2b3C4d5E6f"
}When it fires
A voice session closed. See the Voice concepts for an overview of the surrounding lifecycle.
Handling tips
- Treat the delivery as the latest state. Re-fetch the resource if you need confirmation against the source of truth.
- Dedupe on id — the same event may arrive more than once.
- Respond with 2xx within 8 seconds to avoid retry pressure.