The Drivers API manages the driver roster, providing endpoints to create and update driver profiles, retrieve current ELD-sourced position data, and control the sleep timer background job. Driver records use a local primary key (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ShohjahonSohibov/repo-for-agent/llms.txt
Use this file to discover all available pages before exploring further.
Driver.Id) for all internal operations — this is distinct from the ImportId field used only for synchronization with external TMS systems like QuickManage. The API also exposes dispatcher-specific endpoints under /api/dispatchers.
Base URL: /api/drivers
Required permission (minimum): Drivers.View
Driver ID convention
Endpoints
GET /api/drivers
List all drivers with pagination. RequiresDrivers.View.
Query parameters
Page number, 1-indexed. Defaults to
1.Items per page. Defaults to
20, maximum 100.Field name to sort by (e.g.,
name, status).Sort direction:
asc or desc.Text search across driver name and phone fields.
Filter by driver status.
cURL
Response
GET /api/drivers/
Get a single driver’s full profile. RequiresDrivers.View.
Path parameters
The driver’s local database ID (
Driver.Id).cURL
Response
POST /api/drivers
Create a new driver record. RequiresDrivers.Create.
Request body
Driver’s full name.
Driver’s phone number.
Driver status (e.g.,
Active, Inactive).ID of the Telegram group link assigned to this driver. See GroupLinks.
PUT /api/drivers/
Update a driver’s profile. RequiresDrivers.Update.
Path parameters
The driver’s local database ID.
POST /api/drivers. Include only the fields you want to change.
cURL
DELETE /api/drivers/
Delete a driver record. RequiresDrivers.Delete.
Path parameters
The driver’s local database ID.
cURL
GET /api/drivers//loads
Get loads currently or previously assigned to a driver. RequiresLoads.View.
Path parameters
The driver’s local database ID.
cURL
GET /api/drivers//current-position
Get the driver’s current position as reported by the ELD integration (Zippy, Samsara, UTrackin, etc.). RequiresDrivers.View.
Path parameters
The driver’s local database ID.
cURL
Current latitude coordinate.
Current longitude coordinate.
Vehicle speed in mph at the time of the last ELD position record.
Vehicle bearing in degrees (0–360).
ELD vehicle identifier.
ISO 8601 timestamp when the ELD position was recorded.
Response
ELD positions are imported on a schedule (every 25 minutes for Zippy/Samsara). The
recordedAt timestamp reflects when the ELD device recorded the position, not when it was imported into UpdaterAgent.POST /api/drivers//sleep-timer
Start a sleep timer for a driver. When the timer expires, a background job fires an alert notification. RequiresDrivers.Update.
Path parameters
The driver’s local database ID.
Sleep duration in minutes. The alert fires when this period elapses.
cURL
DELETE /api/drivers//sleep-timer
Cancel an active sleep timer for a driver before it expires. RequiresDrivers.Update.
Path parameters
The driver’s local database ID.
cURL
Dispatcher endpoints
Dispatcher-specific operations are available under/api/dispatchers. These endpoints use the same JWT authentication and return data scoped to the current tenant.
GET /api/dispatchers
List all dispatchers in the tenant. RequiresUsers.View.
cURL
GET /api/dispatchers//loads
Get all loads assigned to a specific dispatcher. RequiresLoads.View.
Path parameters
The dispatcher’s user ID.
cURL
Driver fields reference
| Field | Type | Description |
|---|---|---|
id | number | Local database primary key — use this in all API calls |
name | string | Driver’s full name |
phone | string | Contact phone number |
status | string | Driver status (e.g., Active, Inactive) |
groupLinkId | number | Linked Telegram group for notifications |
importId | string | External TMS GUID — used only for QuickManage sync, not for API calls |
Permissions summary
| Permission | Grants access to |
|---|---|
Drivers.View | GET endpoints, current position |
Drivers.Create | POST /api/drivers |
Drivers.Update | PUT, sleep timer start/cancel |
Drivers.Delete | DELETE /api/drivers/{id} |
Loads.View | Driver loads, dispatcher loads |
Users.View | Dispatcher list |