Labels, manifests and public URLs
Standard label
Section titled “Standard label”See get a label for GET /api/bookings/v4/{id}/label.
A6 label
Section titled “A6 label”GET /api/bookings/v4/{id}/a6labelReturns an A6-format PDF label for the booking. Same auth rules as the standard label endpoint. Also accepts HEAD for existence checks.
curl -H "Api-key: YOUR_API_KEY" \ -o label-a6.pdf \ https://www.transdirect.com.au/api/bookings/v4/123456/a6labelManifest
Section titled “Manifest”GET /api/bookings/v4/{id}/manifestReturns a PDF manifest for the booking when the courier supports manifests.
Invoice PDF
Section titled “Invoice PDF”GET /api/bookings/v4/{id}/invoiceReturns the booking invoice PDF (authenticated; booking must belong to the member).
Signed public label URL
Section titled “Signed public label URL”GET /api/bookings/v4/{id}/public_urlGenerates a time-limited public URL for the label (usable without the API key). Requires the label to be ready.
Example response shape:
{ "success": true, "url": "https://www.transdirect.com.au/api/signed/label/TOKEN", "expires_at": "..."}The signed path is GET /api/signed/label/{token} (no API key).
Batch labels and manifests
Section titled “Batch labels and manifests”POST /api/bookings/labels/batchPOST /api/bookings/manifests/batchRequest body typically includes a list of booking ids (and optional label format: "standard" or "a6"). Returns a combined PDF for the selected bookings. Cap is on the order of 1–50 ids depending on generation (see OpenAPI on v5).
Label regeneration
Section titled “Label regeneration”When a cached label is stale, courier-specific regenerate endpoints exist, for example:
| Path | Courier family |
|---|---|
GET /api/bookings/v4/{id}/tntregeneralabel | TNT |
GET /api/bookings/{id}/tgeregeneralabel | Team Global Express |
GET /api/bookings/{id}/northlineregeneralabel | Northline |
Everyday retrieval should still use /label first.
Authentication
Section titled “Authentication”All endpoints above (except the signed token path) require API key or basic auth, and the booking must belong to the authenticated member.