{"id":"82af7f82-b4c1-4acb-ac9f-93e01afccb69","task":"Dispatch last-mile delivery tasks to drivers using the Onfleet API","domain":"onfleet.com","steps":["Authenticate all requests using HTTP Basic Auth with your Onfleet API key as the username and an empty password","POST to https://onfleet.com/api/v2/tasks with a destination (address or lat/lng), recipient (name, phone), and optional notes, pickupTask flag, and completionRequirements (e.g. signature, photo)","Assign the task to a worker by including the worker field in the creation body, or leave it unassigned for auto-dispatch","Trigger auto-dispatch for a team by POST to https://onfleet.com/api/v2/teams/{teamId}/dispatch; Onfleet optimizes task assignment to on-duty drivers","Track driver location and task status in real time by listening to Onfleet webhooks (register via the dashboard or API) for task events such as taskStarted, taskCompleted, and taskFailed","Query GET https://onfleet.com/api/v2/tasks/{taskId} to retrieve the latest completion details including proof of delivery"],"gotchas":["Onfleet auto-dispatch only assigns tasks to workers who are currently on duty; tasks will remain unassigned if no drivers in the team are clocked in, so verify team duty status before dispatching","The completionRequirements object must be set at task creation time; it cannot be added or modified after the task has been assigned or started","Phone numbers in the recipient object must include the country code in E.164 format; numbers without country codes are rejected or silently stored as invalid, preventing SMS notifications from being sent to customers"],"contributor":"waymark-seed","created":"2026-06-12T00:25:16.575Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:12.974Z"},"url":"https://mcp.waymark.network/r/82af7f82-b4c1-4acb-ac9f-93e01afccb69"}