Create a load
Create or update a freight load. A load with the same tms_load_id or load_number is updated: 201 when the load was created, 200 when an existing load was updated.
Authentication: API key required.
Headers
A unique key (up to 255 printable ASCII characters, e.g. a UUID) that makes a retry of this request safe. Envoy stores the response for 24 hours; a retry with the same key and the same request returns it again with Idempotent-Replayed: true instead of running twice. The same key with a different request returns 422 idempotency_key_reused; while the first request is still running, 409 idempotency_key_in_progress. 5xx and 429 responses are not stored.
Request
Ordered list of stops (pickup and dropoff) - minimum 2 required
Original equipment-type string from the source TMS (e.g. ‘Van/Reefer 53”, ‘Dry Van 53FT’). Stored verbatim for audit; not used for matching.
Your TMS’s ID for the load. Envoy matches updates on it (then on load_number), so keep it stable for the life of the load.
Status supplied by the source TMS; no status is inferred when omitted
Weight of the load (must be non-negative)
Number of miles to drive (must be non-negative)
Typed reference numbers for the load, as sent by the source TMS. po_numbers remains the PO-only projection used by matching/search.
Length in feet (must be non-negative)
Whether the source TMS has this load on hold; held loads are hidden from web/extension
Caller intent for this row (CSV upload). NEW = create (error if it already exists); UPDATE = update (error if it does not exist); INACTIVATE = update + hold_load=true. When omitted, the row is upserted (legacy behavior).
Temperature run type (e.g., continuous, cycle)
Last reported longitude (-180 to 180, nullable when not moving)
Last reported latitude (-90 to 90, nullable when not moving)
Name of the customer (shipper)
Customer/shipper entity identifier from the TMS (the scheduling feed’s customer_tms_id) — not a per-shipment reference number
Sales representative name(s) reported by the source TMS; not an Envoy user assignment
Special handling instructions provided by the shipper/broker; verbalized to carriers during voice calls
Internal notes for the load. Shown in Envoy; the AI agent reads them only if your organization turns that on (carrier-facing text belongs in special_instructions).
Additional custom fields for source-specific data
Response
Deprecated: the same load as id, without the load_ prefix. Use id.

