Auto-Assign Tasks
Assigns tasks to workers automatically in Onfleet.
PUT
Query
Field selectionChoose which fields should be included in the response. Learn more
string
Comma-separated response fields to include.
Body
Arguments
array of stringrequired
An array of task IDs to assign.
stringrequired
The desired automatic assignment mode. Either distance or load.
array of string
An array of team IDs to consider for automatic assignment.
number
The maximum number of tasks a worker can have after automatic assignment.
boolean
Whether to include dependency families in the assignment operation.
array of string
One or more worker IDs that should not be considered in assignment calculations.
boolean
Whether to restrict auto-assignment strictly to the provided teams.