Skip to main content
Connect via WebSocket to receive instant updates about a delivery’s location and status changes without polling.

Path Parameters

string
required
The unique identifier of the delivery request to track

Connection

The WebSocket connection will remain open until either party closes it. The server will send updates whenever the delivery’s location or status changes.

Message Format

Updates are sent as JSON messages with the following structure:
string
Type of update (LOCATION_UPDATE, STATUS_CHANGE)
string
The unique identifier of the delivery request
string
ISO 8601 timestamp when the update occurred
object
Update details

Example Messages

Location Update