Skip to main content
GET
List Drivers

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

providerId
string | null

The provider you dispatch to whose drivers to list. Omit to list your own organization's drivers.

Minimum string length: 1
lat
number | null

Latitude of the search origin.

Required range: -90 <= x <= 90
lng
number | null

Longitude of the search origin.

Required range: -180 <= x <= 180
radiusKm
number | null

Only drivers whose latest location is within this many km of lat/lng. Needs lat and lng.

Required range: 0 < x <= 200
status
string | null

Comma-separated driver statuses to keep, e.g. available,delivering.

Maximum string length: 200
eligible
boolean | null

true keeps drivers who can take another order now; false keeps the rest.

limit
integer
default:50
Required range: 1 <= x <= 100
cursor
string | null

nextCursor from the previous page.

Response

OK

drivers
FleetDriver · object[]
required

Nearest first when lat/lng are given, else by driver id.

nextCursor
string | null