API ReferenceDrivers
Get driver
Fetch a single driver by ID.
Authorization
bearerAuth AuthorizationBearer <token>
Access token from /authenticate
In: header
Path Parameters
id*string
The ID of the driver to fetch.
Response Body
application/json
application/json
curl -X GET "https://example.com/drivers/drv-123e4567-e89b-12d3-a456-426614174000"{ "id": "drv-123e4567-e89b-12d3-a456-426614174000", "firstName": "John", "lastName": "Doe", "phone": "+14265551000", "status": "ACTIVE"}{ "code": 0, "message": "string", "details": [ { "@type": "string" } ]}