# Onfleet API Documentation

This is the complete API documentation for connecting to the Onfleet API using MindCloud's Universal API.

MindCloud offers one normalized API to access 3,400+ apps from a single place. It centralizes authentication and normalizes app APIs so they are easier and more consistent to use.

## Quickstart

1. A **MindCloud account** — sign in or create an account at [MindCloud](https://app.mindcloud.co).
2. A **MindCloud API Key** — create one in [API Keys](https://app.mindcloud.co/user/api-keys). Keep it on your server.
3. At least one **Onfleet connection** — create or choose one in [Connections](https://app.mindcloud.co/credentials). Note its `connectionId`.

```text
POST https://connect.mindcloud.co/v2/universal/apps/onfleet/actions/{actionSlug}/run
```

## Onfleet actions

- PUT `auto-assign-tasks` Auto-Assign Tasks
- POST `create-destination` Create Destination
- POST `create-recipient` Create Recipient
- POST `create-task` Create Task
- POST `create-team` Create Team
- POST `create-worker` Create Worker
- GET `find-recipient` Find Recipient
- GET `get-destination` Get Destination
- GET `get-organization-details` Get Organization Details
- GET `get-recipient` Get Recipient
- GET `get-task` Get Task
- GET `get-team` Get Team
- GET `get-worker` Get Worker
- GET `get-workers-by-location` Get Workers By Location
- GET `list-tasks` List Tasks
- GET `list-team-tasks` List Team Tasks
- GET `list-teams` List Teams
- GET `list-worker-tasks` List Worker Tasks
- GET `list-workers` List Workers
- GET `test-api-key` Test API Key
- PUT `update-recipient` Update Recipient
- PUT `update-task` Update Task
- PUT `update-team` Update Team
- PUT `update-worker` Update Worker
