Test mode
Drive a test tracking through its lifecycle. Works only with a TEST partner key.
Simulate a driver event
Moves a test tracking through its lifecycle as if a real driver did it, then sends one signed webhook for the new state to the webhook URL configured on your TEST key. The response tells you what your endpoint answered.
Works only with a TEST key (a live key gets 403 TEST_MODE_ONLY). Use the same test key that
created the tracking.
| Event | Allowed from | Result |
|---|---|---|
driver.installed | pending installation, or scheduled whose driver has no app | request (driver has the app now). On a scheduled tracking driverHasApp becomes true and the status stays scheduled |
driver.accepted | request | active |
driver.rejected | request | cancel |
location | active | active with the new driverCoords (requires coords) |
driver.paused | active | stop |
driver.resumed | stop | active |
tracking.finished | active, stop | done |
webhook.ping | any | unchanged - resends the current state |
driver.flagged | any, except pending installation and scheduled | unchanged status. Raises the Potential Fraud Alerts listed in alerts on the simulated driver's phone (an empty list clears them). They show in fraudAlerts while the tracking is active or stop, for an organization on a PRO or VIP plan |
ELD and Hybrid test tracking items add the carrier's side (the Start, Stop and Cancel links of the carrier's approval email):
| Event | Allowed from | Result |
|---|---|---|
carrier.approved | requestEld waiting for the carrier, scheduledEld, or a hybrid in the driver's app the carrier has not approved (also after carrier.rejected) | activeEld (the truck's ELD starts reporting). On scheduledEld the approval is recorded and the status stays until schedule.start, then becomes activeEld. On a hybrid the driver already moved, the status stays |
carrier.paused | approved by the carrier | unchanged status - the truck's ELD stops reporting |
carrier.resumed | paused by the carrier | unchanged status - the truck's ELD reports again |
carrier.rejected | any, until the tracking is finished (not twice in a row) | ELD only: cancelEld. Hybrid: only the ELD part ends and the status stays, unless the driver declined too (cancelEld) |
driver.installed | hybrid whose driver has no app | driverHasApp becomes true. A pending one moves into the driver's app with status requestEld, one the carrier already started keeps its status |
driver.accepted | hybrid in the driver's app, requestEld or activeEld | activeEld (the phone reports too) |
driver.rejected | hybrid in the driver's app, not accepted | unchanged status, or cancelEld when the carrier already cancelled |
driver.paused | hybrid activeEld the driver accepted | stopEld - the truck's ELD keeps reporting |
driver.resumed | stopEld | activeEld |
location | activeEld, or a hybrid stopEld | the new driverCoords. A fix from the truck's ELD (no live phone) has battery, accuracy and locationSource null |
tracking.finished | activeEld, stopEld | doneEld |
driver.flagged | hybrid in the driver's app | as above - only while the driver has accepted the tracking |
A scheduled ELD or Hybrid test tracking that the carrier did not approve by schedule.start becomes
requestEld (a hybrid also loses its schedule). The carrier.* events answer
400 TEST_EVENT_INVALID on a phone-only test tracking.
An event that is not allowed from the current status returns 400 TEST_EVENT_INVALID.
Simulate a driver event › Request Body
trackingIdA tracking created with the same TEST key.
eventThe carrier.* events apply to ELD and Hybrid test tracking items only. See the transition tables of POST /test/simulate.
New driver position. Required when event is location, ignored otherwise.
alertsRequired when event is driver.flagged, ignored otherwise. The Potential Fraud Alerts codes
to raise on the simulated driver's phone. An empty list clears them.
Simulate a driver event › Responses
Event applied. webhook reports the delivery to your test webhook URL.
messageThe tracking after the event.
The webhook event the simulated event stands for - the same type - as the webhook item carries it.
Empty for location, webhook.ping and driver.flagged, which change only the snapshot.
Outcome of the single webhook attempt made for this simulated event.

