webhookUrl when creating a route via POST /v1/routes to receive an HTTP callback when computation finishes. Delivery is best-effort with automatic retries.
Event Types
| Type | Description |
|---|---|
route.complete | Route computed successfully |
route.failed | Route computation failed |
Payload
route.complete
route.failed
Retries
Failed deliveries are retried up to 2 times with exponential backoff (1s, 2s), for a maximum of 3 total attempts. Each attempt has a 5-second timeout.Receiving Webhooks
Your endpoint should acceptPOST requests and return a 2xx status to acknowledge receipt: