# Onfleet Webhooks API

**Canonical:** https://apis.io/apis/onfleet/onfleet-webhooks-api/  
**Provider:** Onfleet — https://apis.io/providers/onfleet/  
**Base URL:** https://onfleet.com/api/v2  
**Documentation:** https://docs.onfleet.com/reference/webhooks

Onfleet Webhooks API is one of 9 APIs that [Onfleet](https://apis.io/providers/onfleet/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification. Tagged areas include Last Mile Delivery, Webhook, and Event. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, and an AsyncAPI specification.

Register HTTPS callbacks against 27 trigger types covering task lifecycle, worker duty/CRUD, route plan state changes, SMS recipient events, and async job completions (auto-dispatch, task batch create, route optimization). Payloads are signed with HMAC-SHA256 using the secret obtained from /webhooks/secret.

## Machine-readable artifacts (5)

- **Documentation** — https://docs.onfleet.com/reference/webhooks.md
- **Documentation** — https://docs.onfleet.com/reference/secrets.md
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/openapi/onfleet-webhooks-api-openapi.yml
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/asyncapi/onfleet-webhooks-asyncapi.yml
- **Examples** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/examples/onfleet-webhook-task-completed-example.json

## Other Onfleet APIs (8)

- [Onfleet Tasks API](https://apis.io/apis/onfleet/onfleet-tasks-api/)
- [Onfleet Workers API](https://apis.io/apis/onfleet/onfleet-workers-api/)
- [Onfleet Route Plans API](https://apis.io/apis/onfleet/onfleet-route-plans-api/)
- [Onfleet Orders API](https://apis.io/apis/onfleet/onfleet-orders-api/)
- [Onfleet Organizations & Teams API](https://apis.io/apis/onfleet/onfleet-organizations-api/)
- [Onfleet Recipients API](https://apis.io/apis/onfleet/onfleet-recipients-api/)
- [Onfleet Destinations API](https://apis.io/apis/onfleet/onfleet-destinations-api/)
- [Onfleet Route Optimization API](https://apis.io/apis/onfleet/onfleet-route-optimization-api/)

## Tags

Last Mile Delivery, Webhook, Event

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/onfleet/onfleet-webhooks-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/onfleet/.
