Skip to main content

Async estimates and webhooks

Non-breaking changes to version 2026-10-05. Nothing changes for a request that does not ask for the new features.

  • POST /v1/estimates and follow-ups accept mode: async. The answer is 202 with status: processing, and the estimate finishes in the background. See Async estimates.
  • An estimate can now have the status processing or failed, and a failed one carries error. Both happen only with mode: async.
  • Webhook endpoints receive signed events: estimate.completed, estimate.failed, credits.low, credits.exhausted, api_key.rotated, api_key.expiring, api_key.suspicious_activity and webhook.test. See Webhooks.
  • New operations: /v1/webhook_endpoints with test and secret rotation, and /v1/events with redelivery. They need the webhooks:manage scope, which every key made in the dashboard now carries, existing ones included.
  • New sandbox entries: sandbox:async and sandbox:failed.
  • New error codes: webhook_url_rejected, webhook_endpoint_limit and event_not_redeliverable.
  • Error codes and estimate statuses can grow. Handle an unknown error code by its HTTP status, and treat an unknown status as not finished.