How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Onfleet Tasks API

Create, list, fetch, update, clone, force-complete, and delete pickup/dropoff tasks. Tasks are theatomic unit of work in Onfleet — each has a destination, recipient, completion window, optionaldependencies, and a state lifecycle (Unassigned → Assigned → Active → Completed). Supportsbatch creation (up to 100 per request) and assignment to workers via the containers endpoint.

Onfleet Tasks API is one of 9 APIs that Onfleet publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Last Mile Delivery, Logistics, and Task. The published artifact set on APIs.io includes API documentation, an OpenAPI specification, and 2 JSON Schemas.

This API exposes 10 operations across 8 paths, and defines 10 schemas. It is described by OpenAPI 3.0.3, at version 2.7.

Requests are made against a single base URL, https://onfleet.com/api/v2.

10 operations 8 paths 10 schemas 1 DELETE3 GET4 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
2.7
Base URL
https://onfleet.com/api/v2
Authentication
HTTP Basic
Resource Areas
1

Authentication & Security 1

Onfleet Tasks API declares 1 security scheme for authenticating requests. It accepts HTTP basic authentication (basicAuth). By default, every request must be authenticated.

Paths & Operations 10

Across 8 paths, the API surfaces 10 operations — 1 DELETE, 3 GET, 4 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Tasks 10
POST
/tasks
Create Task
createTask body → 200
POST
/tasks/batch
Create Tasks In Batch
createTaskBatch body → 200
GET
/tasks/all
List Tasks
listTasks 9 params → 200
GET
/tasks/{taskId}
Get Single Task
getTask 1 param → 200
PUT
/tasks/{taskId}
Update Task
updateTask 1 param body → 200
DELETE
/tasks/{taskId}
Delete Task
deleteTask 1 param → 200
GET
/tasks/shortId/{shortId}
Get Task By Short ID
getTaskByShortId 1 param → 200
POST
/tasks/{taskId}/clone
Clone Task
cloneTask 1 param → 200
POST
/tasks/{taskId}/complete
Force-Complete Task
forceCompleteTask 1 param body → 200
PUT
/containers/workers/{workerId}
Assign Tasks To Worker
assignTasksToWorker 1 param body → 200

Schemas 10

The contract defines 10 schemas that model the data the API accepts and returns. The most detailed are Task (28 properties), TaskCreate (15 properties), TaskUpdate (7 properties), CompletionDetails (6 properties). Each schema is shown below with its type and property counts.

Feedback
object
3 properties
Metadata
object
4 properties 3 required
TaskUpdate
object
7 properties
TaskList
object
2 properties
AutoAssign
object
5 properties
Task
object
28 properties
Destination
object
5 properties
Recipient
object
6 properties
CompletionDetails
object
6 properties
TaskCreate
object
15 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

onfleet-tasks-api-openapi.yml Raw ↑

Other APIs Onfleet publishes across the network.

Onfleet Workers API
Onfleet Route Plans API
Onfleet Orders API
Onfleet Organizations & Teams API
Onfleet Recipients API
Onfleet Destinations API
Onfleet Webhooks API
Onfleet Route Optimization API
Where this information came from

This is an independent, third-party profile of Onfleet Tasks API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.