Entopizo Pro API documentation

The public REST API of the Entopizo Pro fleet platform: endpoints, authentication, webhooks, and a live Try it on demo data.

Version 1.0.0 · built 2026-11-07 · Download OpenAPI (JSON) for Postman or code generators · About Entopizo Pro

Introduction

The Entopizo Pro API gives your own systems read-only access to your organization's fleet: vehicles and fleets, their latest positions and sensor readings (temperatures, doors, fuel level and every other named sensor), position history, trips, events, geofences, points of interest, routes, drivers, the reports the app offers, maintenance dues, vehicle inspections, notification rules, live-location sharing links, tachograph files and their analysis, and reverse geocoding.

The API only reads. It cannot change anything in Entopizo Pro, never sends commands to trackers and cannot change their settings. Every endpoint answers GET (and HEAD); anything else is 405.

  • Base URL: https://<your Entopizo Pro address>/api/public/v1
  • JSON, UTF-8. Times are RFC 3339 in UTC, coordinates WGS84 degrees, speeds km/h, distances km, durations seconds, ids UUIDs.
  • Lists are paged with an opaque cursor: each answer is { "data": [...], "nextCursor": "…" }; pass nextCursor as cursor to get the next page (up to limit=500 items a page) until it is null.
  • History, trips, events, reports, inspections and tachograph files are asked for over a period from (inclusive) – to (exclusive) of at most 31 days; a tachograph analysis over at most 31 days (from – to, both inclusive).
  • API keys are free. «Try it» on this page uses a demo key on a demo organization with made-up vehicles.

``bash curl -H "Authorization: Bearer $ENTOPIZO_API_KEY" \ "https://pro.entopizo.com/api/public/v1/vehicles?limit=50" ``

Authentication

API keys are created for free by the administrator of your organization in Entopizo Pro → Settings → «Integrations / API». Send the key with every request:

Authorization: Bearer <YOUR_API_KEY>

Every request carries an API key in the Authorization header:

Authorization: Bearer ezp_live_…

Making a key. An administrator of the organization makes keys in Entopizo Pro: *Settings → Integrations / API*. The key is shown once, when it is made; Entopizo keeps only a hash of it. Copy it then and keep it like a password. A key can be revoked there at any time; it stops working at once.

What a key reads. A key has *scopes*, chosen when it is made:

| Scope | Reads | |---|---| | vehicles:read | vehicles and fleets | | positions:read | latest positions | | sensors:read | sensor readings (temperatures, doors, fuel level, …) | | history:read | position history | | trips:read | trips | | events:read | events | | places:read | geofences, points of interest, routes | | drivers:read | drivers and their assignments | | reports:read | reports | | maintenance:read | maintenance schedules and what is due | | inspections:read | vehicle inspections (DVIR) and their defects | | rules:read | notification rules (never their recipients or addresses) | | geocoding:read | addresses of points (reverse geocoding) | | sharing:read | live-location sharing links (only if its creator manages them) | | tacho:read | tachograph files and their analysis |

A key can also be limited to some vehicles or one fleet, to some IP addresses or ranges, and given an expiry date. A key limited to some vehicles does not read places, drivers, maintenance, notification rules, sharing links or tachograph data, nor any fleet. It never reads more than the administrator who made it may see now: if that administrator no longer manages API keys, or the organization is suspended, the key stops working (401 invalid_key).

Security e-mails. The organization's administrators get an e-mail when a key is used from an address it was never used from (not the first one), and when it reaches its limit, at most a few a day. An administrator can turn them off for a key, accepting the risk, in the same place.

A key works only on /api/public/v1. It is refused everywhere else in Entopizo Pro.

apiKey: An API key made in Entopizo Pro (Settings → Integrations / API): `Authorization: Bearer ezp_live_…`.

Demo key (read-only, demo account with sample vehicles) used by «Try it»: ezp_demo_BFSaQxTl-TmScC2draQsdhdJ6gR9VreB2FmFJex23rE

Rate limits

Each key may make 60 requests a minute and 10 000 a day (the demo key: 20 a minute). Every answer says where the key stands:

| Header | Meaning | |---|---| | X-RateLimit-Limit | requests allowed a minute | | X-RateLimit-Remaining | requests left in this minute (and day) | | X-RateLimit-Reset | seconds until the limit resets |

Over the limit the answer is 429 with the code rate_limited and a Retry-After header (seconds). Ask for longer pages (limit up to 500) rather than many short ones, and follow positions every 30 seconds or more.

Addresses (GET /geocode/reverse) come only from the addresses Entopizo already keeps for the organization's trips and events, at points rounded to 4 decimals (about 10 m). Entopizo does not look up new addresses for the API: a point with no kept address answers address: null, so store coordinates and treat the address as optional. It has its own limit besides the key's: 20 a minute and 1 000 a day per key; over it the answer is 429 rate_limited with Retry-After. The demo key has no addresses.

An address that sends 30 wrong keys in 10 minutes (unknown, expired, revoked or from an address the key does not allow) gets 429 until those 10 minutes end, whatever key it sends.

{
  "perMinute": 60,
  "perDay": 10000,
  "demoPerMinute": 20,
  "geocodePerMinute": 20,
  "geocodePerDay": 1000,
  "maxPage": 500,
  "maxRangeDays": 31
}

Errors

Errors are RFC 9457 *problem details* (application/problem+json). Branch on code, which does not change; title and detail are for people.

``json { "type": "https://entopizo.com/api_documentation/errors#range_too_large", "title": "The period asked for is too long", "status": 400, "code": "range_too_large", "detail": "The period may span at most 31 days; ask for it in parts", "instance": "/api/public/v1/trips" } ``

| Status | code | When | |---|---|---| | 400 | invalid_request | a parameter is missing or not valid (errors lists them) | | 400 | range_too_large | the period is longer than 31 days | | 401 | invalid_key | no key, an unknown, revoked or expired key, or one that is no longer active | | 403 | scope_missing | the key does not have the scope the endpoint needs | | 403 | ip_not_allowed | the key is limited to other addresses | | 404 | not_found | no such vehicle, driver, report or path — or not one the key reads | | 405 | method_not_allowed | any method but GET / HEAD | | 429 | rate_limited | over the key's limits (see Retry-After) | | 500 | internal_error | our fault; try again later |

Endpoints

Base URL: https://pro.entopizo.com/api/public/v1

Vehicles

The organization’s vehicles (only those the key reads).

GET /vehicles

List vehicles

Scope: vehicles:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK VehiclePage

  • data Vehicle[] required
    array of Vehicle
    • id string<uuid> required — Vehicle id
    • name string required
    • plate string | null required
    • vin string | null required
    • brand string | null required
    • model string | null required
    • year integer | null required
    • category string required — car, van, truck, bus, motorcycle, boat, …
    • fuelType string | null required
    • fleetId string | null<uuid> required
    • tags string[] required
    • odometerKm number | null required — Odometer, km
    • engineHours number | null required
    • speedLimitKmh number | null required — Own speed limit, km/h
    • hasTracker boolean required — A tracker is fitted
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /vehicles/{id}

Get a vehicle

Scope: vehicles:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK Vehicle

  • id string<uuid> required — Vehicle id
  • name string required
  • plate string | null required
  • vin string | null required
  • brand string | null required
  • model string | null required
  • year integer | null required
  • category string required — car, van, truck, bus, motorcycle, boat, …
  • fuelType string | null required
  • fleetId string | null<uuid> required
  • tags string[] required
  • odometerKm number | null required — Odometer, km
  • engineHours number | null required
  • speedLimitKmh number | null required — Own speed limit, km/h
  • hasTracker boolean required — A tracker is fitted
  • updatedAt string<date-time> required — Last change (RFC 3339, UTC)

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Positions

The latest known position and state of each vehicle. Units that report sensors only (telematics, properties) never show a location.

GET /positions

Latest position of every vehicle

Vehicles that have never reported are not listed.

Scope: positions:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK PositionPage

  • data Position[] required
    array of Position
    • vehicleId string<uuid> required — Vehicle id
    • status "moving" | "idle" | "stopped" | "offline" required — moving; idle (ignition on, not moving); stopped; offline
    • time string | null<date-time> required — Time of the position fix (RFC 3339, UTC)
    • lastSeen string<date-time> required — Last message from the tracker (RFC 3339, UTC)
    • lat number | null required — Latitude, WGS84 degrees
    • lon number | null required — Longitude, WGS84 degrees
    • speedKmh number | null required — Speed, km/h
    • headingDeg number | null required — Course, degrees from north
    • satellites integer | null required — 0: no GPS fix (the last known position)
    • ignition boolean | null required
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /vehicles/{id}/position

A vehicle's latest position and state

Scope: positions:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK VehiclePosition

  • vehicleId string<uuid> — Vehicle id
  • status "moving" | "idle" | "stopped" | "offline" — moving; idle (ignition on, not moving); stopped; offline
  • time string | null<date-time> — Time of the position fix (RFC 3339, UTC)
  • lastSeen string<date-time> — Last message from the tracker (RFC 3339, UTC)
  • lat number | null — Latitude, WGS84 degrees
  • lon number | null — Longitude, WGS84 degrees
  • speedKmh number | null — Speed, km/h
  • headingDeg number | null — Course, degrees from north
  • satellites integer | null — 0: no GPS fix (the last known position)
  • ignition boolean | null
  • movement boolean | null
  • externalVoltage number | null — Vehicle battery, V
  • batteryVoltage number | null — Tracker's own battery, V
  • gsmSignal number | null
  • odometerKm number | null
  • engineHours number | null
  • driver object | null — The current driver (only with the drivers:read scope)
    • id string<uuid> required
    • name string required
    • since string<date-time> required — Driving since (RFC 3339, UTC)

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Sensors

What each named sensor of a vehicle reads now — fridge and engine temperatures, doors, fuel level, voltages, inputs and every other sensor named in the app — for one vehicle or every vehicle. Their set-up is not part of the API, nor are past sensor values.

GET /vehicles/{id}/sensors

A vehicle's sensor readings

Scope: sensors:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK VehicleSensors

  • vehicleId string<uuid> required
  • lastSeen string | null<date-time> required — Last message from the tracker (RFC 3339, UTC)
  • sensors Sensor[] required
    array of Sensor
    • id string<uuid> required
    • name string required
    • kind string required — state, reading, enum, text
    • section string required
    • unit string | null required
    • value number | string | null required — states 1/0, readings scaled; null while not reported
    • text string | null required — As the app shows it
    • severity string | null required

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /sensors

Sensor readings of every vehicle

What each named sensor reads now (temperatures, doors, fuel level, …), a page of vehicles at a time.

Scope: sensors:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK VehicleSensorsPage

  • data VehicleSensors[] required
    array of VehicleSensors
    • vehicleId string<uuid> required
    • lastSeen string | null<date-time> required — Last message from the tracker (RFC 3339, UTC)
    • sensors Sensor[] required
      array of Sensor
      • id string<uuid> required
      • name string required
      • kind string required — state, reading, enum, text
      • section string required
      • unit string | null required
      • value number | string | null required — states 1/0, readings scaled; null while not reported
      • text string | null required — As the app shows it
      • severity string | null required
  • nextCursor string | null required

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

History

A vehicle’s positions over a period (at most 31 days), oldest first.

GET /vehicles/{id}/history

A vehicle's positions over a period

Oldest first, at most 31 days at once.

Scope: history:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
from requiredquerystring<date-time>
to requiredquerystring<date-time>
limitqueryinteger
cursorquerystring
Responses

200 OK HistoryPage

  • data HistoryPoint[] required
    array of HistoryPoint
    • time string<date-time> required — Time of the fix (RFC 3339, UTC)
    • lat number required — Latitude, WGS84 degrees
    • lon number required — Longitude, WGS84 degrees
    • speedKmh number | null required — Speed, km/h
    • headingDeg number | null required
    • ignition boolean | null required
    • valid boolean required — false: no GPS fix at the time
  • nextCursor string | null required
  • incomplete boolean required — Part of the period could not be read; ask again later

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Trips

Trips that started in a period (at most 31 days), newest first.

GET /trips

Trips that started in a period

Newest first, at most 31 days at once.

Scope: trips:read.

Parameters
NameInTypeDescription
from requiredquerystring<date-time>
to requiredquerystring<date-time>
vehicleIdquerystring<uuid>
limitqueryinteger
cursorquerystring
Responses

200 OK TripPage

  • data Trip[] required
    array of Trip
    • id string<uuid> required
    • vehicleId string<uuid> required
    • status "open" | "closed" required — open: still under way
    • startTime string<date-time> required — Start (RFC 3339, UTC)
    • endTime string | null<date-time> required — End (RFC 3339, UTC)
    • start object required
      • lat number | null required — Latitude, WGS84 degrees
      • lon number | null required — Longitude, WGS84 degrees
      • address string | null required
    • end object required
      • lat number | null required — Latitude, WGS84 degrees
      • lon number | null required — Longitude, WGS84 degrees
      • address string | null required
    • distanceKm number | null required
    • maxSpeedKmh number | null required — Highest speed, km/h
    • avgSpeedKmh number | null required — Average speed, km/h
    • drivingSeconds integer | null required
    • idleSeconds integer | null required
    • driverName string | null required
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Events

Events in a period (at most 31 days), newest first: geofences, overspeed, ignition, alarms, sensors and more.

GET /events

Events in a period

Newest first, at most 31 days at once.

Scope: events:read.

Parameters
NameInTypeDescription
from requiredquerystring<date-time>
to requiredquerystring<date-time>
vehicleIdquerystring<uuid>
typequerystring
limitqueryinteger
cursorquerystring
Responses

200 OK EventPage

  • data Event[] required
    array of Event
    • id string<uuid> required
    • type "geofence_enter" | "geofence_exit" | "overspeed" | "ignition_on" | "ignition_off" | "alarm" | "dvir_critical_defect" | "dvir_missing" | "maintenance_due" | "document_expiring" | "custom" | "backup_active" | "tacho_overdue" | "road_overspeed" | "shift_start" | "shift_end" | "sensor" | "towing" | "device_movement" | "device_offline" | "device_online" | "movement_start" | "shallow_water" | "fuel_refuel" | "fuel_drain" | "long_stop" | "battery_low" | "power_loss" required
    • time string<date-time> required — When it happened (RFC 3339, UTC)
    • endTime string | null<date-time> required — When it ended (overspeed, …) (RFC 3339, UTC)
    • vehicleId string<uuid> required
    • lat number | null required — Latitude, WGS84 degrees
    • lon number | null required — Longitude, WGS84 degrees
    • speedKmh number | null required — Speed, km/h
    • geofenceId string | null<uuid> required
    • geofenceName string | null required
    • details object required — Some of: maxSpeed, limit, road, geofence, alarm, idleMinutes, title, message, severity, lastSeen, offlineAfterMinutes
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Places

Geofences, points of interest and routes drawn on the map, and which geofences a point lies in.

GET /geofences

List geofences

Scope: places:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK GeofencePage

  • data Geofence[] required
    array of Geofence
    • id string<uuid> required
    • name string required
    • color string required
    • shape "circle" | "polygon" required
    • center object | null required — A circle’s centre
      • lat number required — Latitude, WGS84 degrees
      • lon number required — Longitude, WGS84 degrees
    • radiusM number | null required — A circle’s radius, metres
    • points object[] required — A polygon’s corners (empty for a circle)
      array of object
      • lat number required — Latitude, WGS84 degrees
      • lon number required — Longitude, WGS84 degrees
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /pois

List points of interest

Scope: places:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK PoiPage

  • data Poi[] required
    array of Poi
    • id string<uuid> required
    • name string required
    • description string | null required
    • lat number required — Latitude, WGS84 degrees
    • lon number required — Longitude, WGS84 degrees
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /routes

List routes drawn on the map

Scope: places:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK RoutePage

  • data Route[] required
    array of Route
    • id string<uuid> required
    • name string required
    • color string required
    • points object[] required
      array of object
      • lat number required — Latitude, WGS84 degrees
      • lon number required — Longitude, WGS84 degrees
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /geofences/containing

Geofences a point lies in

Scope: places:read.

Parameters
NameInTypeDescription
latquerynumber | null
lonquerynumber | null
Responses

200 OK GeofenceList

  • data Geofence[] required
    array of Geofence
    • id string<uuid> required
    • name string required
    • color string required
    • shape "circle" | "polygon" required
    • center object | null required — A circle’s centre
      • lat number required — Latitude, WGS84 degrees
      • lon number required — Longitude, WGS84 degrees
    • radiusM number | null required — A circle’s radius, metres
    • points object[] required — A polygon’s corners (empty for a circle)
      array of object
      • lat number required — Latitude, WGS84 degrees
      • lon number required — Longitude, WGS84 degrees
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Drivers

Drivers and which vehicle each one drove when.

GET /drivers

List drivers

Scope: drivers:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK DriverPage

  • data Driver[] required
    array of Driver
    • id string<uuid> required
    • name string required
    • phone string | null required
    • email string | null required
    • fleetId string | null<uuid> required
    • licenseExpiresOn string | null required — YYYY-MM-DD
    • currentVehicle object | null required
      • vehicleId string<uuid> required
      • since string<date-time> required — Driving since (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /drivers/{id}/assignments

A driver's assignments to vehicles

Newest first (the last 50).

Scope: drivers:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
limitqueryinteger
cursorquerystring
Responses

200 OK AssignmentPage

  • data DriverAssignment[] required
    array of DriverAssignment
    • vehicleId string<uuid> required
    • from string<date-time> required — Start (RFC 3339, UTC)
    • to string | null<date-time> required — End; null while it lasts (RFC 3339, UTC)
    • source string required — manual, card, ble_tag, …
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Reports

The reports of the app, as typed rows over a period of at most 31 days. GET /reports lists them with their columns.

GET /reports

List the reports

Scope: reports:read.

Parameters
NameInTypeDescription
langquery"en" | "el"
Responses

200 OK ReportTypeList

  • data ReportType[] required
    array of ReportType
    • type "summary" | "daily" | "trips" | "drivers" | "stops" | "overspeed" | "geofences" | "events" | "inspections" | "haccp" | "fuel" required
    • title string required
    • description string required
    • columns object[] required
      array of object
      • key string required
      • type "text" | "datetime" | "date" | "duration" | "km" | "speed" | "count" | "coords" | "event" | "decimal" required

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /reports/{type}

Run a report

Rows over a period of at most 31 days.

Scope: reports:read.

Parameters
NameInTypeDescription
type requiredpath"summary" | "daily" | "trips" | "drivers" | "stops" | "overspeed" | "geofences" | "events" | "inspections" | "haccp" | "fuel"
from requiredquerystring<date-time>
to requiredquerystring<date-time>
vehicleIdsquerystring
langquery"en" | "el"
Responses

200 OK Report

  • type "summary" | "daily" | "trips" | "drivers" | "stops" | "overspeed" | "geofences" | "events" | "inspections" | "haccp" | "fuel" required
  • from string<date-time> required — Start of the period (RFC 3339, UTC)
  • to string<date-time> required — End of the period (exclusive) (RFC 3339, UTC)
  • timeZone string required — Days and dates of the rows are in this zone
  • columns object[] required
    array of object
    • key string required
    • type "text" | "datetime" | "date" | "duration" | "km" | "speed" | "count" | "coords" | "event" | "decimal" required — datetime: RFC 3339; duration: seconds; km; speed: km/h; coords: [lat, lon]; decimal: a measured value (°C, litres, %)
    • label string required
    • total "sum" | "max" required
  • rows object[] required
  • totals object | null required
  • truncated boolean required — More rows than the 20 000 sent

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Fleets

The organization’s fleets and how many vehicles each has.

GET /fleets

List fleets

A key limited to a fleet sees only that fleet; a key limited to some vehicles sees none.

Scope: vehicles:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK FleetPage

  • data Fleet[] required
    array of Fleet
    • id string<uuid> required
    • name string required
    • vehicleCount integer required — Vehicles in the fleet (not archived)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Maintenance

Each maintenance schedule (services and renewals) on each vehicle: when it was last done, when it is due by date, kilometres or engine hours, and whether it is overdue, due soon or fine. No costs, vendors or work orders.

GET /maintenance

What maintenance is due on each vehicle

Every schedule on every vehicle the key reads, the most urgent first.

Scope: maintenance:read.

Parameters
NameInTypeDescription
vehicleIdquerystring<uuid>
kindquery"service" | "renewal"
limitqueryinteger
cursorquerystring
Responses

200 OK MaintenancePage

  • data MaintenanceItem[] required
    array of MaintenanceItem
    • id string<uuid> required — The schedule on this vehicle
    • scheduleId string<uuid> required
    • vehicleId string<uuid> required
    • vehicleName string required
    • plate string | null required
    • kind "service" | "renewal" required
    • title string required — The schedule’s name, e.g. «Oil change»
    • everyKm integer | null required
    • everyHours integer | null required
    • everyMonths integer | null required
    • lastDoneOn string | null required — Last done (YYYY-MM-DD, the organization’s day)
    • lastDoneKm integer | null required
    • lastDoneHours integer | null required
    • dueOn string | null required — Next due by date (YYYY-MM-DD, the organization’s day)
    • dueKm integer | null required — Next due at this odometer, km
    • dueHours integer | null required — Next due at these engine hours
    • status "overdue" | "due_soon" | "ok" | "unknown" required — overdue: past its due; due_soon: within its margin; ok; unknown: no due, or no meter reading to judge it by
    • dueBy "date" | "km" | "hours"[] required — What made it overdue or due soon
    • remainingDays integer | null required
    • remainingKm number | null required
    • remainingHours number | null required
    • odometerKm number | null required — The vehicle’s odometer now, km
    • engineHours number | null required — The vehicle’s engine hours now
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /vehicles/{id}/maintenance

A vehicle's maintenance schedules and dues

Scope: maintenance:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK MaintenanceList

  • data MaintenanceItem[] required
    array of MaintenanceItem
    • id string<uuid> required — The schedule on this vehicle
    • scheduleId string<uuid> required
    • vehicleId string<uuid> required
    • vehicleName string required
    • plate string | null required
    • kind "service" | "renewal" required
    • title string required — The schedule’s name, e.g. «Oil change»
    • everyKm integer | null required
    • everyHours integer | null required
    • everyMonths integer | null required
    • lastDoneOn string | null required — Last done (YYYY-MM-DD, the organization’s day)
    • lastDoneKm integer | null required
    • lastDoneHours integer | null required
    • dueOn string | null required — Next due by date (YYYY-MM-DD, the organization’s day)
    • dueKm integer | null required — Next due at this odometer, km
    • dueHours integer | null required — Next due at these engine hours
    • status "overdue" | "due_soon" | "ok" | "unknown" required — overdue: past its due; due_soon: within its margin; ok; unknown: no due, or no meter reading to judge it by
    • dueBy "date" | "km" | "hours"[] required — What made it overdue or due soon
    • remainingDays integer | null required
    • remainingKm number | null required
    • remainingHours number | null required
    • odometerKm number | null required — The vehicle’s odometer now, km
    • engineHours number | null required — The vehicle’s engine hours now

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Inspections (DVIR)

The vehicle inspections drivers submit (DVIR): the checklist answers and the defects found, with their state now; one also as a PDF. At most 31 days at once.

GET /inspections

Vehicle inspections submitted in a period

Newest first, at most 31 days at once.

Scope: inspections:read.

Parameters
NameInTypeDescription
from requiredquerystring<date-time>
to requiredquerystring<date-time>
vehicleIdquerystring<uuid>
limitqueryinteger
cursorquerystring
Responses

200 OK InspectionPage

  • data Inspection[] required
    array of Inspection
    • id string<uuid> required
    • vehicleId string<uuid> required
    • vehicleName string | null required
    • driverId string | null<uuid> required
    • driverName string | null required
    • kind "pre_trip" | "post_trip" required
    • time string<date-time> required — When it was submitted (RFC 3339, UTC)
    • odometerKm integer | null required — As the inspector typed it
    • defectCount integer required — Checklist lines found not OK
    • unsafe boolean required — A critical defect was found: the vehicle should not be driven
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /inspections/{id}

An inspection with its checklist and defects

Scope: inspections:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK InspectionDetail

  • id string<uuid>
  • vehicleId string<uuid>
  • vehicleName string | null
  • driverId string | null<uuid>
  • driverName string | null
  • kind "pre_trip" | "post_trip"
  • time string<date-time> — When it was submitted (RFC 3339, UTC)
  • odometerKm integer | null — As the inspector typed it
  • defectCount integer — Checklist lines found not OK
  • unsafe boolean — A critical defect was found: the vehicle should not be driven
  • notes string | null
  • items object[]
    array of object
    • itemId string required
    • label string required
    • critical boolean required
    • ok boolean required
    • note string | null required
  • defects InspectionDefect[]
    array of InspectionDefect
    • id string<uuid> required
    • item string required — The checklist line
    • critical boolean required
    • note string | null required — What the inspector wrote
    • status "open" | "repaired" | "not_needed" required
    • resolvedAt string | null<date-time> required — When it was closed (RFC 3339, UTC)
    • createdAt string<date-time> required — When it was found (RFC 3339, UTC)
    • carriedOver boolean required — Still open from an earlier inspection, found again in this one

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /inspections/{id}/pdf

An inspection as a PDF

As the app prints it: checklist, defects, their photos and the signature.

Scope: inspections:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
langquery"en" | "el"
Responses

200 OK string<binary>

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Notification rules

The notification rules: their events, vehicles and geofences and which channels they use. Never their recipients, e-mail addresses, phone numbers, webhook addresses or secrets.

GET /rules

List notification rules

What each rule reacts to and on which vehicles. Never its recipients, addresses, phone numbers or webhook.

Scope: rules:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK NotificationRulePage

  • data NotificationRule[] required
    array of NotificationRule
    • id string<uuid> required
    • name string required
    • enabled boolean required
    • personal boolean required — A member’s own rule (sent only to them), not the organization’s
    • eventTypes "geofence_enter" | "geofence_exit" | "overspeed" | "ignition_on" | "ignition_off" | "alarm" | "dvir_critical_defect" | "dvir_missing" | "maintenance_due" | "document_expiring" | "custom" | "backup_active" | "tacho_overdue" | "road_overspeed" | "shift_start" | "shift_end" | "sensor" | "towing" | "device_movement" | "device_offline" | "device_online" | "movement_start" | "shallow_water" | "fuel_refuel" | "fuel_drain" | "long_stop" | "battery_low" | "power_loss"[] required
    • allVehicles boolean required — true: every vehicle (vehicleIds is empty)
    • vehicleIds string<uuid>[] required
    • geofenceIds string<uuid>[] required — Only these geofences (geofence events); empty for all
    • channels object required — Which channels it uses (never their addresses)
      • inApp boolean required
      • push boolean required
      • email boolean required
      • webhook boolean required
    • updatedAt string<date-time> required — Last change (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Addresses

The address of a point, only when Entopizo already keeps one from the organization’s trips and events (else null): no new lookups. Limited to 20 a minute and 1 000 a day per key (see «Rate limits»).

GET /geocode/reverse

The kept address of a point

Only an address Entopizo already keeps (from the organization's trips and events, ~10 m); otherwise address is null. At most 20 a minute and 1000 a day per key, besides the key's own limits.

Scope: geocoding:read.

Parameters
NameInTypeDescription
latquerynumber | null
lonquerynumber | null
Responses

200 OK ReverseGeocode

  • lat number required — The latitude looked up (rounded to 4 decimals, ~10 m)
  • lon number required — The longitude looked up (rounded to 4 decimals, ~10 m)
  • address string | null required — A short address; null where none is known

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Sharing links

The links that show vehicles live to people without an account, with their address. Only for keys whose creator manages these links; making or ending one is not part of the API.

GET /shares

List live-location sharing links

Only for keys whose creator manages sharing links. Ended links stay listed for 30 days.

Scope: sharing:read.

Parameters
NameInTypeDescription
limitqueryinteger
cursorquerystring
Responses

200 OK ShareLinkPage

  • data ShareLink[] required
    array of ShareLink
    • id string<uuid> required
    • name string | null required
    • url string<uri> required — The public link: whoever has it sees these vehicles live until it ends
    • vehicleIds string<uuid>[] required
    • status "active" | "expired" | "revoked" required
    • createdAt string<date-time> required — Made (RFC 3339, UTC)
    • expiresAt string<date-time> required — Ends (RFC 3339, UTC)
    • revokedAt string | null<date-time> required — Revoked (RFC 3339, UTC)
    • viewCount integer required
    • lastViewedAt string | null<date-time> required — Last opened (RFC 3339, UTC)
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Tachograph

Tachograph files of driver cards and vehicle units (the list over at most 31 days, and each original DDD file), and their analysis: driving and rest times and infringements of a driver or vehicle over at most 31 days. Indicative, not certified.

GET /tacho/files

Tachograph files downloaded in a period

Driver cards and vehicle units, newest first, at most 31 days at once.

Scope: tacho:read.

Parameters
NameInTypeDescription
from requiredquerystring<date-time>
to requiredquerystring<date-time>
vehicleIdquerystring<uuid>
cardNumberquerystring
kindquery"driver_card" | "vu"
limitqueryinteger
cursorquerystring
Responses

200 OK TachoFilePage

  • data TachoFile[] required
    array of TachoFile
    • id string<uuid> required
    • kind "driver_card" | "vu" required
    • vehicleId string | null<uuid> required
    • vehicleName string | null required
    • driverName string | null required
    • cardNumber string | null required — The driver card (driver_card files)
    • plate string | null required — As the vehicle unit recorded it
    • periodStart string | null<date-time> required — First day it covers (RFC 3339, UTC)
    • periodEnd string | null<date-time> required — Last day it covers (RFC 3339, UTC)
    • downloadedAt string<date-time> required — Downloaded from the tachograph (RFC 3339, UTC)
    • size integer required — Bytes
    • parsed boolean required — Read for Tacho Analytics
  • nextCursor string | null required — Pass as `cursor` for the next page; null on the last page

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /tacho/files/{id}/download

The original tachograph file (DDD)

Each download is recorded in the organization’s audit log.

Scope: tacho:read.

Parameters
NameInTypeDescription
id requiredpathstring<uuid>
Responses

200 OK string<binary>

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /tacho/subjects

Drivers and vehicles that can be analysed

Scope: tacho:read.

Responses

200 OK TachoSubjects

  • vehicles object[] required
    array of object
    • id string<uuid> required
    • name string required
    • plate string | null required
  • drivers object[] required
    array of object
    • cardNumber string required
    • driverName string | null required
    • driverId string | null<uuid> required
    • lastDownloadAt string<date-time> required — Latest card download (RFC 3339, UTC)

400 `invalid_request`: The request is not valid Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

GET /tacho/analysis

Driving and rest times and infringements

Of a driver card or a vehicle over at most 31 days. Indicative, not certified.

Scope: tacho:read.

Parameters
NameInTypeDescription
vehicleIdquerystring<uuid>
cardNumberquerystring
from requiredquerystring
to requiredquerystring
Responses

200 OK TachoAnalysis

  • status "ok" | "no_files" | "unreadable" | "error" required
  • disclaimer string required — Indicative, not certified
  • subject object required
    • kind "driver_card" | "vu" required
    • key string required — The card number or the vehicle id
    • name string | null required
  • from string required
  • to string required
  • computedAt string<date-time> required — When it was worked out (RFC 3339, UTC)
  • files object[] required
    array of object
    • id string<uuid> required
    • downloadedAt string<date-time> required — Downloaded (RFC 3339, UTC)
    • periodStart string | null<date-time> required — First day (RFC 3339, UTC)
    • periodEnd string | null<date-time> required — Last day (RFC 3339, UTC)
  • summary object required
    • violations integer required
    • bySeverity object required
    • byType object required
    • usageErrors integer required
    • anomalies integer required
  • violations TachoFinding[] required — Infringements of EU 561/2006 and 165/2014
    array of TachoFinding
    • code string | null required — The article, e.g. 6.1, 7, 8.2
    • type string required
    • severity string | null required — minor, serious, very-serious, most-serious, uncertain, uncategorized
    • date string | null required — The UTC day it concerns (YYYY-MM-DD)
    • minutes number | null required
    • text string required — In English
  • usageErrors TachoFinding[] required
    array of TachoFinding
    • code string | null required — The article, e.g. 6.1, 7, 8.2
    • type string required
    • severity string | null required — minor, serious, very-serious, most-serious, uncertain, uncategorized
    • date string | null required — The UTC day it concerns (YYYY-MM-DD)
    • minutes number | null required
    • text string required — In English
  • anomalies TachoFinding[] required
    array of TachoFinding
    • code string | null required — The article, e.g. 6.1, 7, 8.2
    • type string required
    • severity string | null required — minor, serious, very-serious, most-serious, uncertain, uncategorized
    • date string | null required — The UTC day it concerns (YYYY-MM-DD)
    • minutes number | null required
    • text string required — In English
  • days object[] required
    array of object
    • date string required
    • distanceKm number | null required
    • totals object required — Minutes of each activity
      • driving number required
      • work number required
      • availability number required
      • rest number required
    • segments object[] required — The day’s activities
      array of object
      • activity "driving" | "work" | "availability" | "rest" required
      • start number required — Minutes from midnight UTC
      • end number | null required — null while the day is open
      • cardOut boolean required
      • crew boolean required
      • coDriver boolean required
  • totals object required — Minutes of each activity
    • driving number required
    • work number required
    • availability number required
    • rest number required
    • distanceKm number required
    • days integer required

400 `invalid_request`: The request is not valid; `range_too_large`: The period asked for is too long Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

401 `invalid_key`: The API key is missing, unknown, expired or revoked Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

403 `ip_not_allowed`: The API key is not accepted from this address; `scope_missing`: The API key does not have the scope this needs Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

404 `not_found`: Not found Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required

429 `rate_limited`: Too many requests Problem

  • type string<uri> required
  • title string required
  • status integer required
  • code "invalid_key" | "ip_not_allowed" | "scope_missing" | "not_found" | "method_not_allowed" | "invalid_request" | "range_too_large" | "rate_limited" | "internal_error" required
  • detail string
  • instance string
  • errors object[]
    array of object
    • parameter string required
    • message string required
Try it

Webhooks

Instead of asking the API again and again, you can have Entopizo Pro call you when an event happens. Webhooks are set on a notification rule: *Notifications → Rules → a rule → Webhook*, with an https address. Entopizo then shows the rule's *signing secret*.

The call. For each event that matches the rule, Entopizo sends POST <your address> with a JSON body:

``json { "id": "0192f1c2-7a4e-7c31-9d2a-5b0e8f6a1d20", "type": "geofence_enter", "time": "2026-11-05T08:14:03.000Z", "organizationId": "0191aa10-1111-7000-8000-000000000001", "vehicle": { "id": "0191aa10-2222-7000-8000-000000000002", "name": "Van 12", "plate": "ΙΚΒ-1234" }, "position": { "lat": 37.9838, "lon": 23.7275, "speed": 42 }, "geofence": "Warehouse", "details": { "geofence": "Warehouse" }, "rule": { "id": "0191aa10-3333-7000-8000-000000000003", "name": "Arrivals at the warehouse" } } ``

type is one of the event types of GET /events; details depends on the type.

Headers.

| Header | Value | |---|---| | Content-Type | application/json | | User-Agent | Entopizo-Webhook/1 | | X-Entopizo-Timestamp | seconds since 1970 (UTC) when it was signed | | X-Entopizo-Signature | sha256= + hex HMAC-SHA256 of <timestamp>.<body> with the rule's secret |

Checking the signature. Compute the HMAC over the timestamp, a dot and the body *exactly as received*, compare in constant time, and refuse old timestamps (e.g. more than 5 minutes) so a recorded call cannot be replayed.

Node.js:

```js import { createHmac, timingSafeEqual } from 'node:crypto'

// body: the request body exactly as received (a string or Buffer), before any JSON parsing function verify(body, timestamp, signature, secret) { if (Math.abs(Date.now() / 1000 - Number(timestamp)) > 300) return false const expected = 'sha256=' + createHmac('sha256', secret).update(${timestamp}.${body}).digest('hex') return expected.length === signature.length && timingSafeEqual(Buffer.from(expected), Buffer.from(signature)) } // verify(rawBody, req.headers['x-entopizo-timestamp'], req.headers['x-entopizo-signature'], SECRET) ```

Python:

```python import hashlib, hmac, time

def verify(body: bytes, timestamp: str, signature: str, secret: str) -> bool: if abs(time.time() - int(timestamp)) > 300: return False mac = hmac.new(secret.encode(), timestamp.encode() + b"." + body, hashlib.sha256) return hmac.compare_digest("sha256=" + mac.hexdigest(), signature) ```

PHP:

``php <?php function verify(string $body, string $timestamp, string $signature, string $secret): bool { if (abs(time() - (int) $timestamp) > 300) return false; $expected = 'sha256=' . hash_hmac('sha256', $timestamp . '.' . $body, $secret); return hash_equals($expected, $signature); } // verify(file_get_contents('php://input'), $_SERVER['HTTP_X_ENTOPIZO_TIMESTAMP'], // $_SERVER['HTTP_X_ENTOPIZO_SIGNATURE'], $secret); ``

Answers and retries. Answer with any 2xx within 5 seconds (do the work afterwards). A timeout, a network error, 429 or 5xx is retried twice, after 10 seconds and after 1 minute; any other answer (e.g. 4xx) is not retried. Redirects are not followed. The rule shows the last delivery's time and result.

Limits. At most 600 calls an hour per rule; beyond that, calls are dropped until the hour passes. Addresses must be https and public: private, local and cloud-metadata addresses are refused, also when a name resolves to one.

POST notificationRuleEvent

An event that matched a notification rule

Sent to the https address of a notification rule. Verify X-Entopizo-Signature before trusting the body (see «Webhooks»).

Payload

Share your experience with Entopizo

Your feedback helps us improve our GPS tracking, vehicle security and telematics services, while helping future customers choose with confidence.