departure.updated
Webhook events · Intelligence
An existing departure window has been recomputed (traffic shifted, weather changed).
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": ["departure.updated"] }'
Delivery payload
JSON
{
"id": "whe_8x9y0z1a2b",
"type": "departure.updated",
"api_version": "2026-05-20",
"created": 1716247200,
"data": {
"object": {
"event_id": "evt_1abc2def3ghi",
"earliest_departure": "2026-05-22T13:18:00-07:00",
"latest_departure": "2026-05-22T13:28:00-07:00",
"reason": "traffic_increase"
}
},
"livemode": true,
"request_id": "req_1A2b3C4d5E6f"
}When it fires
An existing departure window has been recomputed (traffic shifted, weather changed). See the Intelligence 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.