# Onfleet Tasks API

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

Onfleet Tasks 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. 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.

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.

## Machine-readable artifacts (22)

- **Documentation** — https://docs.onfleet.com/reference/tasks.md
- **Documentation** — https://docs.onfleet.com/reference/create-task.md
- **Documentation** — https://docs.onfleet.com/reference/list-tasks.md
- **OpenAPI** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/openapi/onfleet-tasks-api-openapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/json-schema/onfleet-task-schema.json
- **JSONStructure** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/json-structure/onfleet-task-structure.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/examples/onfleet-create-task-example.json
- **GraphQL** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/graphql/onfleet-graphql.md
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/apis.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-assign-task-to-worker-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-auto-assign-task-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-batch-create-and-list-tasks-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-build-route-plan-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-clone-and-complete-task-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-dispatch-team-tasks-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-fulfill-courier-order-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-onboard-worker-to-team-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-optimize-team-routes-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-provision-admin-and-team-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-provision-delivery-task-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-register-task-webhook-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/onfleet/refs/heads/main/arazzo/onfleet-upsert-recipient-and-create-task-workflow.yml

## Other Onfleet APIs (8)

- [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 Webhooks API](https://apis.io/apis/onfleet/onfleet-webhooks-api/)
- [Onfleet Route Optimization API](https://apis.io/apis/onfleet/onfleet-route-optimization-api/)

## Tags

Last Mile Delivery, Logistics, Task

---

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