Track environments

All URLs and examples in this Track documentation refer to the Live environment, also known as the Production environment.

The Track live environment exists as a user interface at https://app.sorted.com/ and API requests use the base url of https://react-api.sorted.com/.

API headers in Track

To call any of Track’s APIs, you’ll need an API key. You can create one from the Settings > API Keys tab in the Track UI.

Track endpoints

Track offers the following API endpoints:

EndpointPurpose
Register ShipmentsRegister shipments for tracking
Get Shipment by Shipment IDRetrieve shipment details by Track Shipment ID
Get ShipmentsRetrieve shipment details by tracking or custom reference
Update ShipmentUpdate shipment details
Delete ShipmentDelete a shipment
Get Tracking Events by Shipment IDRetrieve all shipment tracking events for a specified shipment
Get EventRetrieve events by Track Event ID
Get Shipment EventsRetrieve events by date range, references and carrier
Get Shipment Events by Shipment IDRetrieve event details by Track Shipment ID
Get Shipment States HistoryRetrieve a shipment’s shipment state history

API functions

  • Registering Shipments - Explains how to use the Register Shipments endpoint and the SFTP bulk upload service to add shipments to Track.
  • Retrieving Shipment and Event Data - Explains how to get data from the Shipment, Tracking, and Events APIs.
  • Updating Shipments - Explains how to use the Update Shipment API to update and existing shipment’s details.
  • Error Codes - Explains the various error codes that Track can return.
  • Calculated Events - Explains how Track calculates events, and how those events affect shipments.

Next steps

Here are some related user guides: