LemursEye
Documentation
API

List drivers

GEThttps://lemurseye.com/api/v1/drivers

Returns every driver in your company, active or not.

Permission: drivers:read. The token is sent as Authorization: Bearer <token>; see Authentication.

Response

200

An array of drivers.

Response fields

  • iduuid

    The driver's id.

  • namestring

    Full name.

  • phonestring | null

    Phone number.

  • licenceNostring | null

    Driving licence number.

  • licenceExpirydate | null

    Licence expiry (YYYY-MM-DD).

  • tagIdstring | null

    ID tag (iButton / RFID) the tracker reads, unique in your company.

  • activeboolean

    Inactive drivers keep their history but cannot sign in or be a vehicle's usual driver.

  • notesstring | null

    Free text.

  • vehicleIdsuuid[]

    Vehicles whose usual driver this is.

  • hasCodeboolean

    Whether an app code has been issued (the code itself is never returned again).

  • createdAttimestamp

    When the driver was added.

Errors

Where a message is listed, it comes back as JSON: { "error": "..." }. Otherwise only the status code is returned.

  • 401

    No token, or it has expired.

  • 403

    The token lacks the permission above.