Drivers

List drivers

Returns a list of all drivers (up to 100). No pagination.

get/drivers

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/drivers
  • Auth: none declared

Response

List of drivers

idinteger required

Unique driver identifier

first_namestring nullable

Driver first name

last_namestring nullable

Driver last name

emailstring nullable

Driver email address

phonestring nullable

Driver phone number

contract_typestring nullable

Contract type (e.g. CONTRACTOR, FULL_TIME)

statusstring nullable

Driver status (e.g. ON_ROUTE, ACTIVE, RESTING)

Example response

[
  {
    "id": 1,
    "first_name": "Matt",
    "last_name": "Jerde",
    "email": "celiawalker@swift.net",
    "phone": "4111234962",
    "contract_type": "CONTRACTOR",
    "status": "ON_ROUTE"
  }
]

Changes

No recorded changes to this operation across all 4 revisions of this API.