Home
Providers
Onfleet
Onfleet
Onfleet is an AI-powered last-mile delivery management platform that orchestrates fleet operations, dispatch, route optimization, and customer experience across internal and outsourced delivery fleets. The platform powers 400M+ deliveries for brands including Eaze, Total Wine & More, Pizza Hut, Kroger, and Urbanstems across industries from prepared meals and grocery to cannabis, pharmacy, and furniture. Onfleet exposes a comprehensive REST API v2.7 for tasks, workers, route plans, route optimization, orders, recipients, destinations, organizations/teams, and webhooks — backed by official SDKs in Python, Node.js, PHP, Java, and Go, plus the 150+ courier Onfleet Connect network.
Onfleet publishes 9 APIs on the APIs.io network, including Tasks API, Workers API, Route Plans API, and 6 more. Tagged areas include Last Mile Delivery, Logistics, Fleet Management, Dispatch, and Route Optimization.
The Onfleet catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 3 Spectral governance rulesets.
Onfleet’s developer surface includes authentication, developer portal, documentation, getting-started guide, changelog, engineering blog, signup flow, and 43 more developer resources.
9 APIs
19 Features
Last Mile Delivery Logistics Fleet Management Dispatch Route Optimization Courier Drivers Tracking Geocoding Webhooks AI SaaS
On this page
Kin Score
APIs 9
Postman 8
Open Collections 8
Arazzo 13
GraphQL 1
Pricing Plans 1
Rate Limits 1
FinOps 1
Features 19
Event Specs 1
Vocabularies 1
Spectral Rules 3
JSON Schema 5
JSON Structure 1
Examples 3
Security Posture 4
Agentic Access 1
Integrations 6
Resources 50
apis.yml
37 Operational Transparency
Composite quality — 67.9/100 · exemplar
Contract Quality
19.9 / 25
Developer Ergonomics
13.0 / 20
Commercial Clarity
15.8 / 20
Operational Transparency
4.8 / 13
Agent readiness — 38/100 · agent ready
Machine-Readable Contract
18 / 18
Agentic Access Contract
10 / 10
MCP Server
0 / 12
Machine-Readable Auth
10 / 10
Idempotency
0 / 9
Stable Error Semantics
0 / 8
Request/Response Examples
7 / 7
Rate-Limit Signaling
7 / 7
Typed Event Surface
6 / 6
Agent Skills
0 / 5
Well-Known Catalog
0 / 4
Consent & Bot Identity
0 / 3
A2A Agent Card
0 / 8
Dry-Run / Simulate Mode
0 / 4
Individual APIs this provider publishes, each with its own machine-readable definition.
Scroll for all 9
Ready-to-run Postman collections for exercising this provider's APIs.
Scroll for all 8
Open, tool-agnostic API collections (OpenAPI-derived and Bruno).
Scroll for all 8
Multi-step API workflows described with the Arazzo specification.
Scroll for all 13
GraphQL schemas published by this provider.
Published pricing tiers and plan structures.
Documented rate limits and quota policies.
Cost, billing, and metering signals for API financial operations.
Notable capabilities this provider offers.
REST API v2.7 over HTTPS with Basic Auth using the API key as the username and an empty password
Base URL https://onfleet.com/api/v2; JSON-only request and response bodies
24-character URL-safe resource IDs; GeoJSON [longitude, latitude] coordinates; Unix-millisecond timestamps; E.164 phone numbers
Tasks API with create, batch create (100 per request), clone, force-complete, dependencies, custom fields, and metadata search
Workers API with vehicle metadata (CAR / MOTORCYCLE / BICYCLE / TRUCK), capacity, additionalCapacities, and route delivery manifest
Route Plans API for hub-to-hub routes plus asynchronous Route Optimization (task-based, vehicle-based, auto-dispatch) — Enterprise plan endpoints
Orders API for pickup-dropoff pair workflows on the Onfleet Connect courier network (quote, create, update, clone, cancel, reject)
Recipients and Destinations APIs with geocoding and reusable resource lookup by name/phone
Team Auto-Dispatch (Beta) for batched assignment of unassigned tasks to a team
Webhooks API with 27 trigger types — full task lifecycle, worker duty/CRUD, route plan events, SMS opt-out, predictive delay, and async job completions
HMAC-SHA256 webhook signing via /webhooks/secret with X-Onfleet-Signature header
lastId-based pagination on List Tasks (up to 64 per page); 70-second server timeout on long-running queries
Official SDKs for Python, Node.js, PHP, Java, and Go; archived Ruby SDK; Postman collection
AI-powered route optimization trained on 400M+ deliveries; predictive ETA and delay alerts
Proof of delivery with photos, signatures, timestamps, barcode scanning, and ID verification (Scale+)
Branded customer tracking pages and two-way driver-customer chat
Driver mobile apps (iOS and Android) rated 4.7 stars on both stores
150+ courier partners via Onfleet Connect
Native integrations with Shopify, Zapier, GigSmart, Dutchie, Zendrive
Scroll for all 19
AsyncAPI definitions for this provider's event-driven and streaming APIs.
JSON-LD contexts and semantic vocabularies used across these APIs.
Spectral governance rulesets for linting and validating these APIs.
Standalone JSON Schema definitions for this provider's data models.
JSON Structure definitions describing this provider's data shapes.
Example request and response payloads for these APIs.
Authentication, domain security, vulnerability disclosure, and trust-center signals.
Recommended x-agentic-access execution contracts for AI agents.
Pre-built integrations with other platforms and tools.
Get Started 3
Portal, sign-up, and the first successful call
Documentation 5
Reference material describing how the API behaves
Agent Surfaces 1
MCP servers, agent skills, and machine-readable catalogs
Design & Contract 16
Pagination, idempotency, versioning, errors, and events
Scroll for all 16
Build 9
SDKs, sample code, and the tooling you integrate with
Scroll for all 9
Access & Security 4
Authentication, authorization, and security posture
Operate 6
Status, limits, changes, and where to get help
Commercial 5
Pricing, plans, and the legal terms of use
Company 1
The organization behind the API
Source (apis.yml)
aid: onfleet
url: https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/apis.yml
name: Onfleet
apis:
- aid: onfleet:onfleet-tasks-api
name: Onfleet Tasks API
tags:
- Last Mile Delivery
- Logistics
- Tasks
humanURL: https://docs.onfleet.com/reference/tasks
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/tasks.md
type: Documentation
- url: https://docs.onfleet.com/reference/create-task.md
type: Documentation
- url: https://docs.onfleet.com/reference/list-tasks.md
type: Documentation
- url: openapi/onfleet-tasks-api-openapi.yml
type: OpenAPI
- url: json-schema/onfleet-task-schema.json
type: JSONSchema
- url: json-structure/onfleet-task-structure.json
type: JSONStructure
- url: examples/onfleet-create-task-example.json
type: Examples
- url: graphql/onfleet-graphql.md
type: GraphQL
description: 'Create, list, fetch, update, clone, force-complete, and delete pickup/dropoff tasks. Tasks are the
atomic unit of work in Onfleet — each has a destination, recipient, completion window, optional
dependencies, and a state lifecycle (Unassigned → Assigned → Active → Completed). Supports
batch creation (up to 100 per request) and assignment to workers via the containers endpoint.
'
- aid: onfleet:onfleet-workers-api
name: Onfleet Workers API
tags:
- Last Mile Delivery
- Drivers
- Workers
humanURL: https://docs.onfleet.com/reference/workers
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/create-worker.md
type: Documentation
- url: https://docs.onfleet.com/reference/delivery-manifest.md
type: Documentation
- url: openapi/onfleet-workers-api-openapi.yml
type: OpenAPI
- url: json-schema/onfleet-worker-schema.json
type: JSONSchema
- url: examples/onfleet-create-worker-example.json
type: Examples
description: 'Manage drivers — create, list, update, delete, fetch a worker''s assigned tasks, and pull a
delivery manifest for compliance reporting. Workers are bound to teams, have vehicle metadata
(CAR/MOTORCYCLE/BICYCLE/TRUCK), and report duty status and location.
'
- aid: onfleet:onfleet-route-plans-api
name: Onfleet Route Plans API
tags:
- Last Mile Delivery
- Route Optimization
- Route Plans
humanURL: https://docs.onfleet.com/reference/routeplan
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/routeplan.md
type: Documentation
- url: https://docs.onfleet.com/reference/route-optimization.md
type: Documentation
- url: openapi/onfleet-route-plans-api-openapi.yml
type: OpenAPI
- url: json-schema/onfleet-route-plan-schema.json
type: JSONSchema
description: 'Create and manage route plans — ordered sequences of tasks assigned to a worker for a time window
— and kick off asynchronous route optimization jobs (task-based, vehicle-based, or auto-dispatch).
Optimization endpoints are an Enterprise plan feature; results delivered via the
routeOptimizationJobCompleted webhook.
'
- aid: onfleet:onfleet-orders-api
name: Onfleet Orders API
tags:
- Last Mile Delivery
- Orders
- Courier
humanURL: https://docs.onfleet.com/reference/orders
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/orders.md
type: Documentation
- url: openapi/onfleet-orders-api-openapi.yml
type: OpenAPI
description: 'Orders represent a pickup-dropoff task pair shared between a courier organization and its clients
on the Onfleet Connect network. Clients can quote, create, update, clone, cancel, or reject orders;
couriers can create orders on behalf of clients and respond to them.
'
- aid: onfleet:onfleet-organizations-api
name: Onfleet Organizations & Teams API
tags:
- Last Mile Delivery
- Organizations
- Teams
- Administrators
humanURL: https://docs.onfleet.com/reference/team-auto-dispatch
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/team-auto-dispatch.md
type: Documentation
- url: openapi/onfleet-organizations-api-openapi.yml
type: OpenAPI
description: 'Look up your own organization and connected delegatee organizations on Onfleet Connect, manage
administrators (Super and Standard, optionally read-only), create and list teams, and trigger
Team Auto-Dispatch — Onfleet''s batch task-to-worker assignment engine (Beta).
'
- aid: onfleet:onfleet-recipients-api
name: Onfleet Recipients API
tags:
- Last Mile Delivery
- Recipients
- Customers
humanURL: https://docs.onfleet.com/reference/recipients
baseURL: https://onfleet.com/api/v2
properties:
- url: openapi/onfleet-recipients-api-openapi.yml
type: OpenAPI
- url: json-schema/onfleet-recipient-schema.json
type: JSONSchema
description: 'Create and look up end customers (recipients) by ID, name, or E.164 phone number. Recipients carry
SMS notification preferences and metadata, and can be reused across tasks.
'
- aid: onfleet:onfleet-destinations-api
name: Onfleet Destinations API
tags:
- Last Mile Delivery
- Destinations
- Geocoding
humanURL: https://docs.onfleet.com/reference/destinations
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/create-destination.md
type: Documentation
- url: openapi/onfleet-destinations-api-openapi.yml
type: OpenAPI
- url: json-schema/onfleet-destination-schema.json
type: JSONSchema
description: 'Manage geocoded physical addresses used as task pickup/dropoff locations. Accepts a parsed
address structure or a single `unparsed` field; coordinates are returned as GeoJSON
[longitude, latitude].
'
- aid: onfleet:onfleet-webhooks-api
name: Onfleet Webhooks API
tags:
- Last Mile Delivery
- Webhooks
- Events
humanURL: https://docs.onfleet.com/reference/webhooks
baseURL: https://onfleet.com/api/v2
properties:
- url: https://docs.onfleet.com/reference/webhooks.md
type: Documentation
- url: https://docs.onfleet.com/reference/secrets.md
type: Documentation
- url: openapi/onfleet-webhooks-api-openapi.yml
type: OpenAPI
- url: asyncapi/onfleet-webhooks-asyncapi.yml
type: AsyncAPI
- url: examples/onfleet-webhook-task-completed-example.json
type: Examples
description: '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.
'
- aid: onfleet:onfleet-route-optimization-api
name: Onfleet Route Optimization API
description: The Route Optimization API from Onfleet — 5 operation(s) for route optimization.
humanURL: https://docs.onfleet.com/reference/tasks
baseURL: https://onfleet.com/api/v2
tags:
- Route Optimization
properties:
- type: OpenAPI
url: openapi/onfleet-route-optimization-api-openapi.yml
tags:
- Last Mile Delivery
- Logistics
- Fleet Management
- Dispatch
- Route Optimization
- Courier
- Drivers
- Tracking
- Geocoding
- Webhooks
- AI
- SaaS
kind: contract
accessModel:
pricing: paid
onboarding: self-serve
trial: false
try_now: false
public: false
label: Paid · Self-serve signup
confidence: high
source:
- plans
- authentication
generated: '2026-07-22'
method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/onfleet.png
access: 3rd-Party
common:
- type: AgenticAccess
url: agentic-access/onfleet-agentic-access.yml
- type: TrustCenter
url: security/onfleet-trust-center.yml
- type: VulnerabilityDisclosure
url: security/onfleet-vulnerability-disclosure.yml
- type: DomainSecurity
url: security/onfleet-domain-security.yml
- type: Authentication
url: authentication/onfleet-authentication.yml
- type: PostmanWorkspace
url: https://www.postman.com/kinlaneapi/onfleet/overview
- type: Arazzo
url: arazzo/onfleet-assign-task-to-worker-workflow.yml
name: Onfleet Assign Task to Worker
- type: Arazzo
url: arazzo/onfleet-auto-assign-task-workflow.yml
name: Onfleet Auto-Assign Task
- type: Arazzo
url: arazzo/onfleet-batch-create-and-list-tasks-workflow.yml
name: Onfleet Batch Create and List Tasks
- type: Arazzo
url: arazzo/onfleet-build-route-plan-workflow.yml
name: Onfleet Build Route Plan
- type: Arazzo
url: arazzo/onfleet-clone-and-complete-task-workflow.yml
name: Onfleet Clone and Force-Complete Task
- type: Arazzo
url: arazzo/onfleet-dispatch-team-tasks-workflow.yml
name: Onfleet Dispatch Team Tasks
- type: Arazzo
url: arazzo/onfleet-fulfill-courier-order-workflow.yml
name: Onfleet Fulfill Courier Order
- type: Arazzo
url: arazzo/onfleet-onboard-worker-to-team-workflow.yml
name: Onfleet Onboard Worker to Team
- type: Arazzo
url: arazzo/onfleet-optimize-team-routes-workflow.yml
name: Onfleet Optimize Team Routes
- type: Arazzo
url: arazzo/onfleet-provision-admin-and-team-workflow.yml
name: Onfleet Provision Administrator and Team
- type: Arazzo
url: arazzo/onfleet-provision-delivery-task-workflow.yml
name: Onfleet Provision Delivery Task
- type: Arazzo
url: arazzo/onfleet-register-task-webhook-workflow.yml
name: Onfleet Register Task Webhook
- type: Arazzo
url: arazzo/onfleet-upsert-recipient-and-create-task-workflow.yml
name: Onfleet Upsert Recipient and Create Task
- type: Portal
url: https://onfleet.com
- type: Documentation
url: https://docs.onfleet.com/
- type: Documentation
name: API Reference (v2.7)
url: https://docs.onfleet.com/reference/introduction
- type: GettingStarted
url: https://docs.onfleet.com/reference/setup-tutorial
- type: Documentation
name: Data Types and Response Formats
url: https://docs.onfleet.com/reference/data-types-and-response-formats
- type: Documentation
name: Querying by Metadata
url: https://docs.onfleet.com/reference/querying-by-metadata
- type: ChangeLog
url: https://docs.onfleet.com/changelog/api-documentation-updates-may-2026
- type: ChangeLog
url: https://docs.onfleet.com/changelog/order-endpoints
- type: ChangeLog
url: https://docs.onfleet.com/changelog/custom-fields
- type: StatusPage
url: https://status.onfleet.com
- type: Blog
url: https://onfleet.com/blog
- type: Signup
url: https://onfleet.com/signup
- type: Pricing
url: https://onfleet.com/pricing
- type: TermsOfService
url: https://onfleet.com/legal
- type: PrivacyPolicy
url: https://onfleet.com/privacy
- type: Support
url: https://onfleet.com/support
- type: GitHubOrganization
url: https://github.com/onfleet
- type: SDKs
name: Python (pyonfleet)
url: https://github.com/onfleet/pyonfleet
- type: SDKs
name: Node.js (node-onfleet)
url: https://github.com/onfleet/node-onfleet
- type: SDKs
name: PHP (php-onfleet)
url: https://github.com/onfleet/php-onfleet
- type: SDKs
name: Java (java-onfleet)
url: https://github.com/onfleet/java-onfleet
- type: SDKs
name: Go (gonfleet)
url: https://github.com/onfleet/gonfleet
- type: SDKs
name: Ruby (ruby-onfleet, archived)
url: https://github.com/onfleet/ruby-onfleet
- type: CodeExamples
name: Developer repository (example payloads)
url: https://github.com/onfleet/developer
- type: Documentation
name: Postman Collection
url: https://app.getpostman.com/run-collection/14168007-2dc047db-9556-442a-b643-e913027a74cf
- type: Plans
url: plans/onfleet-plans-pricing.yml
- type: RateLimits
url: rate-limits/onfleet-rate-limits.yml
- type: FinOps
url: finops/onfleet-finops.yml
- type: JSONLD
url: json-ld/onfleet-context.jsonld
- type: Vocabulary
url: vocabulary/onfleet-vocabulary.yml
- type: Rules
url: rules/onfleet-rules.yml
- type: Features
data:
- REST API v2.7 over HTTPS with Basic Auth using the API key as the username and an empty password
- Base URL https://onfleet.com/api/v2; JSON-only request and response bodies
- 24-character URL-safe resource IDs; GeoJSON [longitude, latitude] coordinates; Unix-millisecond timestamps; E.164 phone
numbers
- Tasks API with create, batch create (100 per request), clone, force-complete, dependencies, custom fields, and metadata
search
- Workers API with vehicle metadata (CAR / MOTORCYCLE / BICYCLE / TRUCK), capacity, additionalCapacities, and route delivery
manifest
- Route Plans API for hub-to-hub routes plus asynchronous Route Optimization (task-based, vehicle-based, auto-dispatch)
— Enterprise plan endpoints
- Orders API for pickup-dropoff pair workflows on the Onfleet Connect courier network (quote, create, update, clone, cancel,
reject)
- Recipients and Destinations APIs with geocoding and reusable resource lookup by name/phone
- Team Auto-Dispatch (Beta) for batched assignment of unassigned tasks to a team
- Webhooks API with 27 trigger types — full task lifecycle, worker duty/CRUD, route plan events, SMS opt-out, predictive
delay, and async job completions
- HMAC-SHA256 webhook signing via /webhooks/secret with X-Onfleet-Signature header
- lastId-based pagination on List Tasks (up to 64 per page); 70-second server timeout on long-running queries
- Official SDKs for Python, Node.js, PHP, Java, and Go; archived Ruby SDK; Postman collection
- AI-powered route optimization trained on 400M+ deliveries; predictive ETA and delay alerts
- Proof of delivery with photos, signatures, timestamps, barcode scanning, and ID verification (Scale+)
- Branded customer tracking pages and two-way driver-customer chat
- Driver mobile apps (iOS and Android) rated 4.7 stars on both stores
- 150+ courier partners via Onfleet Connect
- Native integrations with Shopify, Zapier, GigSmart, Dutchie, Zendrive
sources:
- https://docs.onfleet.com/
- https://docs.onfleet.com/reference/introduction
- https://docs.onfleet.com/reference/webhooks
- https://onfleet.com/pricing
- https://onfleet.com
updated: '2026-05-25'
- type: Integrations
data:
- Shopify
- Zapier
- Dutchie
- GigSmart
- Zendrive
- Onfleet Connect (150+ courier partners)
sources:
- https://onfleet.com/
updated: '2026-05-25'
created: '2026-05-25T00:00:00.000Z'
modified: '2026-05-25'
position: Consuming
description: 'Onfleet is an AI-powered last-mile delivery management platform that orchestrates fleet operations,
dispatch, route optimization, and customer experience across internal and outsourced delivery fleets.
The platform powers 400M+ deliveries for brands including Eaze, Total Wine & More, Pizza Hut, Kroger,
and Urbanstems across industries from prepared meals and grocery to cannabis, pharmacy, and
furniture. Onfleet exposes a comprehensive REST API v2.7 for tasks, workers, route plans, route
optimization, orders, recipients, destinations, organizations/teams, and webhooks — backed by
official SDKs in Python, Node.js, PHP, Java, and Go, plus the 150+ courier Onfleet Connect network.
'
maintainers:
- FN: Kin Lane
email: info@apievangelist.com
X: apievangelist
url: https://apievangelist.com
specificationVersion: '0.16'