FleetUp API Docs
  1. Account & User & Device
FleetUp API Docs
  • Quick Start
    • Your First API Call
    • Token Expiration
    • Rate Limit
    • Error Codes
  • API Reference
    • Introduction
    • Authentication
      • /token
      • Obtain JWT Token
    • Account & User & Device
      • /account-info
        POST
      • /users
        GET
      • /drivers/list
        GET
      • /devices
        POST
      • /devices/status
        POST
      • /devices/unlock
        POST
      • /devices/driver-overview
        POST
      • /devices/engine-hours
        POST
      • /devices/fuel-level
        POST
      • /devices/odometer
        POST
      • /devices/latest-ecu-data
        POST
      • /devices/{device-id}
        PUT
      • /devices/{device-type}
        GET
      • /devices/{device-type}/details
        POST
      • /devices/{device-type}/history
        POST
    • Trips
      • /trips/history
      • /trips/ongoing-trips
    • Trip Share
      • /tripshare/live-eta
      • /tripshare/partners
      • /tripshare/share
    • Alerts
      • /alerts/summary
      • /alerts/history
      • /alerts/bulk-history
      • /fencealerts/fence-names
      • /fencealerts/geo-fencealerts
    • Location
      • Retrieve GPS data within a 24-hour time range
      • /gpsdata/device-last-location
      • /gpsdata/latest
      • /gpsdata/latest/4cj
      • /gpsdata/latest/5ta
      • /bulk-gpsdata
    • Maintenance
      • /maintenance/history
      • /maintenance/indicators
      • /maintenance/settings/indicators
      • /maintenance/settings/measurements
    • Reports
      • /reports/temperature-sensors
      • /reports/{report-key}
    • Geofence
      • Get all fences
      • Get fence detail
      • Retrieve geofence alerts
    • Others
      • /jobs
  • API Guides
    • Retrieve All Devices from an Enterprise
  1. Account & User & Device

/drivers/list

GET
/drivers/list
This API returns all the drivers within this account along with the vehicle they are currently operating.

Request

Authorization
Add parameter in header
x-api-key
Example:
x-api-key: ********************
Query Params
acctId
string 
required
token
string 
required

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/drivers/list?acctId&token' \
--header 'x-api-key;'

Responses

🟢200成功
application/json
200 response
Body
drivers
array [object {9}] 
optional
driverId
string 
optional
Driver ID
driverName
string 
optional
Driver Name
driverPhone
string 
optional
Driver Phone number
deviceId
string 
optional
Device ID
vehicleName
string 
optional
Vehicle Name
onlineStatus
string 
optional
0: Offline, 1: Online
firstName
string 
optional
Driver First Name
lastName
string 
optional
Driver Last Name
driverHosState
string 
optional
1:OFF_DUTY ,2:SLEEPER_BERTH,3:DRIVING,4:ONDUTY
Example
{
    "drivers": [
        {
            "driverId": "string",
            "driverName": "string",
            "driverPhone": "string",
            "deviceId": "string",
            "vehicleName": "string",
            "onlineStatus": "string",
            "firstName": "string",
            "lastName": "string",
            "driverHosState": "string"
        }
    ]
}
Modified at 2025-02-28 08:12:14
Previous
/users
Next
/devices
Built with