Powerful APIs for easy integration
Create shipments, retrieve rates, subscribe to status webhooks and reconcile invoices — without a human retyping anything.
The TransportHub API is a REST API with a sandbox environment, JSON payloads, bearer-token authentication and webhooks for every shipment status event. It also supports EDI 204, 214 and 210, and has pre-built connectors for major TMS, ERP and e-commerce platforms.
Getting started
Request sandbox credentials from your account team or through the contact form. Sandbox is free and available before you sign anything.
Authentication
Bearer token in the Authorization header. Tokens are scoped per environment, so a sandbox token can never touch production data.
Creating a shipment
POST /v1/shipments
Authorization: Bearer sk_test_xxxxxxxx
Content-Type: application/json
{
"action": "add",
"shipment": {
"shipment_type": "shorthaul",
"shipper": "5bd346c4bb75c40012c68fd2",
"reference_numbers": [
{ "name": "My Primary Reference", "value": "th-123", "primary": true },
{ "name": "My Secondary Reference", "value": "th-12345" }
],
"stops": [
{ "type": "pickup", "address": "1200 Logistics Way, Mississauga, ON", "window": ["2026-08-12T09:00", "2026-08-12T13:00"] },
{ "type": "delivery", "address": "88 Rue Sainte-Catherine, Montreal, QC", "window": ["2026-08-13T09:00", "2026-08-13T17:00"] }
]
}
}
Webhooks
Subscribe to shipment.booked, shipment.collected, shipment.in_transit, shipment.delivered, shipment.exception and quote.received. Payloads are signed; verify the signature header before trusting the body.
Rate limits
600 requests per minute per token in production, 60 in sandbox. Rate limit headers are returned on every response.
Key facts at a glance
- Protocol
- REST over HTTPS, JSON payloads
- Authentication
- Bearer token, scoped per environment
- Sandbox
- Free, available before contract
- Webhook events
- 6 shipment and quote events, signed payloads
- EDI supported
- 204, 214, 210
- Rate limit
- 600 requests/minute production, 60 sandbox