Drivers
Retrieve a single driver
Retrieves information for a driver by its id
get/v2/drivers/{id}
Request
- Base URL: https://api.onswitchboard.com
- URL: https://api.onswitchboard.com/v2/drivers/{id}
- Auth: API key in header x-api-id and API key in header x-api-key
Path parameters
idstring required
The ID of the driver
Response
Successfully retrieved driver
Example response
{
"firstName": "John",
"lastName": "Doe",
"phoneNumber": "8586770459",
"driversLicense": "655-3892",
"driversLicenseCountry": "CA",
"driversLicenseJurisdiction": "BC",
"timezone": "America/Vancouver",
"username": "johndoe123",
"enabled": true,
"exempt": true,
"sendTextToDriver": true,
"medicalCheckDate": "2022-01-01",
"notes": "Example Notes",
"password": "password",
"exemptionReason": "Exemption Reason",
"dotNumber": "973457",
"id": "yrKsyRstu1"
}Changes
No recorded changes to this operation across all 1 revision of this API.