# Changelog

Additive changes (new fields, parameters, endpoints, codes) can ship at any time without a new
version path - see [Base URL and versioning](/base-url-and-versioning). This page lists every notable
change.

{/* TODO(owner): replace 2026-10-XX with the actual launch date of the developer portal. */}
{/* TODO(owner): replace the 2.2.0 date with the release date of Potential Fraud Alerts. */}

{/* TODO(owner): replace the 2.2.1 date with its release date. */}
{/* TODO(owner): replace the 2.3.0 date with the release date of the PRO trial. */}
{/* TODO(owner): replace the 2.4.0 date with the release date of ELD and Hybrid tracking. */}
{/* TODO(owner): replace the 2.4.1 date with its release date. */}
{/* TODO(owner): replace the 2.5.0 date with its release date. */}
{/* TODO(owner): replace the 2.5.1 date with its release date. */}
{/* TODO(owner): replace the 2.5.2 date with its release date. */}
{/* TODO(owner): replace the 2.5.3 date with its release date. */}
{/* TODO(owner): replace the 2.6.0 date with its release date. */}
{/* TODO(owner): replace the 2.6.1 date with its release date. */}

## 2.6.1 - 2026-11-XX

### Fixed

- **`notMoving` and `waiting` right after the driver accepts.** A driver who was tracked before could bring the
  previous tracking item's `notMoving` or `waiting` along: the new tracking item reported it from the moment the
  driver accepted (on get-tracking, the list items and the webhooks) until the first new location arrived. Only
  what happens after the driver accepts (or resumes) counts now. The values and fields are the same.

## 2.6.0 - 2026-11-XX

### Added

- **Webhook `events`.** Every webhook item carries `events`: what happened to the tracking since the last
  delivery, oldest first, each with a stable `id`, a `type` and the time `at`. The types are `driver.installed`,
  `driver.accepted`, `driver.rejected`, `driver.paused`, `driver.resumed`, `driver.sms_undeliverable`,
  `driver.sms_opted_out`, `tracking.started`, `tracking.finished`, `carrier.approved`, `carrier.rejected`,
  `carrier.paused`, `carrier.resumed`, `stop.arrived`, `stop.departed`, `stop.arrival_cleared`,
  `stop.departure_cleared`, `stop.alert_status_changed` and `document.uploaded`. You no longer have to compare snapshots to learn that the truck arrived at a stop. Events
  that could not be delivered are sent again with the next item, so deduplicate them by `id`. See
  [Webhooks](/webhooks#events).
- **`Idempotency-Key`** on `POST /create-tracking`. Retry a create with the same key and you get the first
  create's response again (`Idempotent-Replayed: true`), with nothing created or billed twice. New codes
  `IDEMPOTENCY_KEY_INVALID` (400), `IDEMPOTENCY_KEY_REUSED` (409) and `IDEMPOTENCY_IN_PROGRESS` (409). See
  [Errors](/errors#idempotency).
- **`driverInvite`** on get-tracking, the list items and the webhooks: the text messages sent to the driver for
  the tracking (the app invite and its reminders, or the new-load text) and whether the number can receive them
  (`sent`, `undeliverable` with its reason, `optedOut`), how many are on record, the last one, and the driver app
  link to share when the driver cannot receive a text.
- **`requestDriverDetails`** on `GET /get-tracking`: `driverDetails` with the driver of the tracking item and the
  device that tracks it - name, phone, picture, account creation date, app version and language, device
  (manufacturer, model, system and version). Every plan.
- **`requestPhoneSettings`** on `GET /get-tracking`: `phoneSettings` with the phone's location settings - permission,
  accuracy and power-save mode, what the `settings` status is about - without the driver's personal data. Every plan.
  Both are `null` with the reason in `message` when there is no driver app account behind the tracking.
- **Test mode**: `POST /test/simulate` answers `events` and the test webhook item carries them, with the same
  names as the simulate events.

### Changed

- **`stopLocations` on edit-tracking** keep the arrival/departure confirmations and the Smart Arrival Alerts
  status of every stop that is still the same stop: the same `customStopId` (at any position) within 100 m of
  where it was, or without ids the same position and place - unless stops were removed or inserted and another
  stop of the list is at the same place, as on a round trip. Before, every edit that sent `stopLocations` started all
  stops over, so a TMS that sends the full stop list with every update erased the arrivals of a live tracking.
  Changing only a stop's `expectedArrival` keeps the stop and recomputes its Smart Arrival Alert.

### Fixed

- **A driver who declines or pauses in the app is delivered by the webhook.** Before, `cancel` and `stop` reached
  the webhook only when a position came with them, and a declined request usually never did.
- **ELD and Hybrid requests before the carrier approves.** A carrier that refuses a request it never approved
  sends a final item (`TrackingPendingData`, status `cancelEld`, event `carrier.rejected`). Before, it was
  visible through get-tracking only.
- **Hybrid tracking items** deliver the driver's derived statuses (`notMoving`, `waiting`, `settings`) as they
  change, like phone tracking items.
- **`DriverFile.type`** is documented as it is returned, `BOL` or `POD`.

## 2.5.3 - 2026-11-XX

### Changed

- **`eld.truckNumber`** of `POST /create-tracking` (ELD and Hybrid): a truck whose ELD plan does not include
  location tracking now answers `400 ELD_VEHICLE_NOT_FOUND`. The carrier's ELD knows such a truck but never
  sends its location, so a tracking item for it would never get one. The code and the response body are the
  same as for an unknown truck number.

## 2.5.2 - 2026-11-XX

### Changed

- **`stopLocationsEta`** of `GET /get-tracking`: `duration` is about 3% longer. The fields and their units are the
  same, and `distance` does not change.

### Fixed

- **`stopLocationsEta` with the driver exactly at a stop.** `distance` is `0 mi` / `0` and `duration.value` is `0`.
  Before, `distance.text` read `NaN mi`, `distance.value` was missing and `duration.value` was `null`.

## 2.5.1 - 2026-10-XX

### Changed

- **`stopLocationsEta`** of `GET /get-tracking` is computed with Esri routing and live traffic. When Esri
  does not answer, the ETA comes from Mapbox driving-traffic as before. The fields and their units are the
  same. The duration of a stop can differ a little from the value before this change.

### Fixed

- **`driverCoords` right after the driver accepts a mobile tracking.** Until the driver's phone sends its
  first position for the tracking, `driverCoords` is `null` on `get-tracking`, in webhooks and in list items,
  and `stopLocationsEta` has no value. Before, they could show the last position of an earlier tracking of
  that driver. See [Tracking lifecycle](/tracking-lifecycle#driver-position).
- **`stopAlertStatus` after a missed appointment.** A stop the driver has not reached reads `late` within
  about 15 minutes after its `expectedArrival`. Before, it could keep `onTime` or `tight` for up to an hour
  after the appointment. A truck inside the stop's geofence gets up to an hour after `expectedArrival` for
  its arrival to be recorded before it turns `late`.
- **`stopAlertStatus` when no alert email goes out.** `late` no longer depends on the alert email. Before, a
  stop kept its earlier status, or stayed `null`, while the email could not be sent or had no recipient, so
  tracking items created through the API can read `late` where they did not before.

## 2.5.0 - 2026-10-XX

### Added

- **Every field of create-tracking and edit-tracking is validated.** A value of another type than the
  reference documents, or over its limit, answers `400` with the field's code, and `message` names the
  field. New codes `ORG_IDENTIFIER_INVALID`, `REF_ID_INVALID`, `CUSTOM_ID_INVALID`, `NOTES_INVALID`,
  `DRIVER_TYPE_INVALID` and `METADATA_INVALID`. `STOP_LOCATION_INVALID`, `CREATED_BY_TMS_INVALID` and
  `LOAD_INSTRUCTIONS_INVALID` also cover the new limits. See [Data formats](/data-formats#limits).
  Requests that were refused before keep the same code. Fields the reference does not list are still
  ignored.
- **`PAYMENT_FAILED`** on create-tracking: when the last payment for the organization's plan failed, no
  new tracking item is created until the organization admin updates the payment method and the payment
  goes through. The plan is kept and existing tracking items are not affected. Test keys never get it.
  See [Billing and usage](/billing-and-usage).

### Changed

- **`driverType`** is read regardless of case and surrounding spaces (`Team` is `team`), and an empty
  string means `solo` on create and no change on edit. Before, such a value was stored as sent and read
  as `solo`.
- **`refId` on edit-tracking** can no longer be emptied: an empty string or `null` answers
  `400 REF_ID_INVALID`. Leave the field out to keep the current reference.

### Fixed

- **A `null` stop in `stopLocations`** answers `400 STOP_LOCATION_INVALID` instead of
  `500 INTERNAL_ERROR`.

## 2.4.1 - 2026-10-XX

### Fixed

- **No Smart Arrival Alert from a driver who is gone.** When the driver deleted the app account or
  uninstalled the app and the driver's phone was the only source of the truck's position,
  `stopAlertStatus` and `calculatedArrival` are `null` on every stop the driver has not reached yet, in
  get-tracking, the lists and the webhooks. On a Mobile tracking item `status` then reads `noAccount` or
  `uninstallAccount`. Before, the last status kept being reported, computed from the phone's last
  position. No "running late" email is sent for such a tracking item either. A truck that reports through
  its ELD keeps its status. See [PRO features](/billing-and-usage#pro-features).
- **No Smart Arrival Alert on a stop without an expected arrival.** When an edit removes a stop's
  `expectedArrival`, that stop's `stopAlertStatusInfo` is `null` in get-tracking, the lists and the webhooks.
  Before, the last status computed for the removed time kept being reported.

## 2.4.0 - 2026-10-XX

### Added

- **ELD and Hybrid tracking.** `POST /create-tracking` takes `trackingSource` (`mobile`, `eld` or
  `hybrid`) and an `eld` block (`carrierDotNumber`, `truckNumber`, optional `providerId` and
  `approvalEmails`). The truck's position then comes from the carrier's ELD, after the carrier approves
  the request by email. Load Market enables it per organization, and it needs the organization's client
  key. Without `trackingSource` a create works exactly as before. See
  [ELD and Hybrid tracking](/eld-tracking).
- **Error codes** `TRACKING_SOURCE_INVALID`, `ELD_DATA_INVALID`, `ELD_TRACKING_NOT_AVAILABLE`,
  `ELD_CARRIER_NOT_INTEGRATED`, `ELD_CONNECTION_UNAVAILABLE`, `ELD_VEHICLE_NOT_FOUND` and
  `ELD_PROVIDER_UNAVAILABLE`. `create-tracking` can also answer `503` (with `Retry-After`) and `504`
  while it checks the truck with the carrier's ELD. See [Errors](/errors#eld-and-hybrid).
- **Test mode** events `carrier.approved`, `carrier.paused`, `carrier.resumed` and `carrier.rejected`
  for ELD and Hybrid test tracking items. See [Test mode](/test-mode#eld-and-hybrid-test-tracking-items).

### Changed

- **ELD statuses.** `requestEld`, `scheduledEld`, `activeEld`, `stopEld`, `cancelEld` and `doneEld`
  are documented. ELD tracking items created in the Load Market web app and read with the client key
  report them too. History lists `doneEld` next to `done`. See
  [Tracking lifecycle](/tracking-lifecycle#eld-and-hybrid-statuses).
- **`driverPhone` of a pending tracking item can be `null`** - an ELD only tracking has no driver phone.
- **`battery`, `accuracy` and `locationSource` are `null`** for a position from the truck's ELD.

## 2.3.0 - 2026-10-XX

### Added

- **PRO trial.** The first 5 tracking requests a new organization creates in the Load Market web app
  have PRO features, whatever its plan. Read through the API, those tracking items fill `fraudAlerts`
  like a PRO plan, and an edit may set `expectedArrival` instead of answering
  `403 PRO_PLAN_REQUIRED`. Tracking items created through the API follow the organization's plan. See
  [PRO features](/billing-and-usage#pro-features).

## 2.2.1 - 2026-10-XX

### Fixed

- **`stopStatusEmails` is delivered for tracking items created through the API.** The recipients in
  `reportEmails` get an email when the driver arrives at or leaves a stop, as documented. Nothing is
  sent when `stopStatusEmails` is off or `reportEmails` is empty.
- **`driverPhone` must be a valid US or Canadian number.** A number that no phone can have, such as
  an area code or exchange starting with `0` or `1`, is rejected with `400 DRIVER_PHONE_INVALID`.
  Before, such a tracking item was created but the driver could never get the app link, so it never
  started. See [Data formats](/data-formats#driver-phone) and [Errors](/errors).

## 2.2.0 - 2026-10-XX

### Added

- **Potential Fraud Alerts (`fraudAlerts`)** on `get-tracking` and in webhooks: signals about the
  driver's phone (`jailbrokenDevice`, `emulator`, `vpn`, `ipOutsideUsCa`, `gpsOutsideUsCa`) with each
  check on its own and the IP location when the IP address resolves outside the US and Canada. PRO
  and VIP plans, while the tracking is live. See [Potential Fraud Alerts](/fraud-alerts).
- **`driver.flagged`** event of `POST /test/simulate` with the new `alerts` field, to raise or clear
  Potential Fraud Alerts on a test tracking. See [Test mode](/test-mode).

### Fixed

- **VIP plans get the PRO features through the API**, like in the Load Market web app. A stop with
  `expectedArrival` is accepted for VIP organizations instead of `403 PRO_PLAN_REQUIRED`, and
  `fraudAlerts` is filled for them. See [Billing and usage](/billing-and-usage#pro-features).

## 2.1.0 - 2026-10-10

### Changed

- **Smart Arrival Alerts have three statuses.** `stopAlertStatus` is `onTime`, `tight` or `late`.
  `ahead` is no longer returned, a stop that used to be `ahead` is now `onTime` - on `get-tracking`,
  in webhooks and in list items. See [PRO features](/billing-and-usage#pro-features).
- **`settings` follows live positions.** When the driver turns location back on but the phone has not
  reported the new setting yet, a location permission or precise-location issue is no longer reported
  once live positions from the phone show the setting was turned back on, until the phone reports its
  settings again. The status is `active` again (or `notMoving` / `waiting` when that applies), on
  `get-tracking`, in webhooks and in list items. See [Tracking lifecycle](/tracking-lifecycle).

## 2.0.0 - 2026-10-XX

Documentation version 2.0.0 of API `v1`. Existing v1 integrations keep working unchanged.

### Added

- **New base URL** `https://api.load-market.com/v1`. Integrations that still use the previous address
  keep working, but new integrations must use the new one.
- **Error `code` and `requestId`** in every error body the API returns, next to `message`. See
  [Errors](/errors).
- **`X-Request-Id`** header on every response. Send your own to correlate logs.
- **`GET /health`** - unauthenticated uptime check.
- **Test mode** - test partner keys, test tracking items that never contact drivers or consume the
  plan, and **`POST /test/simulate`** to drive them. A test tracking lasts at most 24 hours. A test key
  can create 200 test tracking items per UTC day and send 60 requests per minute (`429 TEST_LIMIT_REACHED` /
  `RATE_LIMITED`, with `Retry-After`). See [Test mode](/test-mode).
- **Signed webhooks** - `webhook-id`, `webhook-timestamp` and `webhook-signature` headers following
  Standard Webhooks. See [Webhooks](/webhooks).
- `testMode: true` on the create response for test keys.
- Developer portal with guides, API reference, Swagger console, Postman collection and `llms.txt`.

### Changed

- **Tracking visibility**: a tracking is served to the partner key that created it, or to any partner
  key that sends the owning organization's client key. Otherwise it is reported as not found.
- **Create by MC/DOT number** without `x-api-client-key` can answer `400 CLIENT_KEY_REQUIRED` for
  partners that are not allowlisted. Always send the client key.
- All `/v1` responses carry `Cache-Control: no-store`.
- **`driverCoords` only while a tracking is live** (stored status `active` or `stop`, including the
  derived statuses). It is `null` for requested, rejected, finished, pending installation and scheduled
  tracking items - on `get-tracking`, in webhooks and in list items - and on every history item. Positions are stored per driver, so outside the live window the newest one could
  belong to another load. See [Tracking lifecycle](/tracking-lifecycle#driver-position).

### Fixed

- `stopLocations[].expectedArrival` of **pending** tracking items is now epoch milliseconds, like every
  other timestamp (it was an object before), and pending stops use the same shape as regular ones.
- `edit-tracking` returns the correct `status.description` (it was missing for `request`), the real
  status of scheduled pending tracking items, and the tracking's `customId` even when it was not part
  of the edit.
- Errors inside edit, stop, delete and get-reports now answer `500 INTERNAL_ERROR` right away instead
  of timing out.
- The last tracking request of a plan can be used: `TRACKING_LIMIT_REACHED` is returned only when the
  tracking would exceed the allowance, like in the Load Market web app (the API refused one request
  early before).
- `PATCH /stop-tracking` now sends the final `done` webhook for tracking items created through the API.

## 1.3.0

Last version of the previous Swagger page: scheduled tracking items, email updates, `billingWeight`,
`loadInstructions`, driver telemetry fields (`battery`, `heading`, `accuracy`, `locationSource`) and
`GET /get-all-tracking-items`.
