Sign in

Create tasks in batch

documented

Create multiple tasks in a single request.

POST /tasks/batchTasksno 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/batch" \
  -X POST \
  -u "{{ONFLEET_API_KEY}}:" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"tasks": [ {"destination": {"address": {"unparsed": "{{$destination_address_1}}"}}, "recipients": [ {"name": "{{$recipient_name_1}}", "phone": "{{$recipient_phone_1}}"} ], "notes": "{{$notes_1}}", "pickupTask": {{$pickupTask_1}} }, {"destination": {"address": {"unparsed": "{{$destination_address_2}}"}}, "recipients": [ {"name": "{{$recipient_name_2}}", "phone": "{{$recipient_phone_2}}"} ], "notes": "{{$notes_2}}", "pickupTask": {{$pickupTask_2}} } ]}'
Create tasks in batch · Onfleet · OpenIntegrations