Skip to main content

Live tracking for one shipment, pushed as the van moves (SSE).

GET 

/public/track/:token/stream

A text/event-stream the tracking link alone opens. The first frame carries the current state, so a page joining mid-journey draws itself without a separate fetch; every later frame is the same buyer's view, sent when the driver reports a position or a milestone. Comment frames keep the connection alive through proxies. Deployments without the realtime transport answer 503 and pages fall back to polling.

Request

Responses

An event stream of tracking events whose data is a ShipmentTracking.