Retrieve a list of all the drivers in an organization.
string (Organization ID as string) ^[1-9]\d*$
Filter by the ID of the organization. Obtain this from GET /organizations.
Filter by first name of the driver (regex case-insensitive).
Filter by last name of the driver (regex case-insensitive).
The unique ID of the driver. The ID is generated automatically by the Surfsight system when creating the driver in an organization. This is not the driver code that is used for assigning to devices. Obtain this from GET /drivers.
Filter by the driver's third party ID. Obtain this ID from GET /drivers.
Filter by active or inactive state of the driver.
Enum: "createdAt" "drivingLicense" "firstName" "lastName"
Sort the list of drivers.
Enum: "asc" "desc"
Set the order that pagination results appear in - ascending or descending order.
Set the number of results to skip over before receiving pagination results.
Set the maximum number of pagination results to receive.
Bad request error
Not found error
Internal server error
curl -i -X GET \ 'https://api-prod.surfsight.net/v2/drivers?organizationId=17&driverFirstName=string&driverLastName=string&driverId=qwerty12345&driverThirdPartyId=moshe123&driverIsActive=true&sort=createdAt&order=asc&offset=1&limit=1' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
- "data": [
- "id": "qwerty12345",
- "driverThirdPartyId": "moshe123",
- "drivingLicense": "10203040",
- "firstName": "John",
- "lastName": "Doe",
- "driverCode": "12345",
- "imei": "357660101000198",
- "isActive": true