Skip to main content
POST
Plan Vehicle Routes (Alpha)
This API is experimental and currently in alpha. The request and response contract may change before general availability.
Use Route Optimization to assign jobs across vehicles and determine the order in which they are visited. Jobs represent work at a location. A job can be a package delivery, service visit, inspection, or another stop that a vehicle needs to serve. Use demand and vehicle capacity to control how work is distributed. Omit end_location when a vehicle does not need to return to a fixed destination. Each request can include up to 50 unique locations across jobs and vehicle start and end points.

Authorizations

Authorization
string
header
required

JWT Bearer token for authentication. Example: "Bearer YOUR_API_TOKEN_HERE"

Body

application/json

Jobs and vehicles

Jobs and vehicles

model
object
required

Response

OK

code
string

Error code, present on 429 responses to tell the limits apart

Example:

""

data
object

Response payload

error
string

Error message (only present when ok is false)

Example:

""

ok
boolean

Whether the request was successful

Example:

true