Sign in

Create task

documented

Create a new task (pickup or dropoff) with optional recipients/destination.

POST /tasksTasksno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl "https://onfleet.com/api/v2/tasks" \
  -X POST \
  -u "{{ONFLEET_API_KEY}}:" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{\"destination\": {\"address\": {\"unparsed\": \"{{$address}}\"}}, \"recipients\": [{\"name\": \"{{$recipient_name}}\",\"phone\": \"{{$recipient_phone}}\"}], \"notes\": \"{{$notes}}\"}'
Create task · Onfleet · OpenIntegrations