Guides by role

Guide for carriers

You are a carrier. A customer, broker or agent on the Partner Network tenders freight to you, and you keep them informed as the load runs. In every call below, {partnercode} is their code and YOUR_API_KEY identifies your company.

TerminalCode
export CC=https://carriercloud.ai export KEY="Authorization: Bearer YOUR_API_KEY" export P=MIST

1. See what has been tendered to you

List the loads the partner shares with you. Loads come 100 per page, newest activity first:

TerminalCode
curl "$CC/v1/partner/$P/loads?page=1" -H "$KEY"

Each element is a stored card: the fields you need are under _source.carddata (OrderNumber, TripStatus, Origin*, Destination*, Stops[], FreightDetails[]). The card's _id is the loadid for every call that follows.

To read one load:

TerminalCode
curl "$CC/v1/partner/$P/loads/$LOADID" -H "$KEY"

Offers (GET .../offers, accept, reject) are gated at the moment. When they are enabled for your key, Get Active Offers lists open offers since a starttime, and Accept an Offer / Reject an Offer close them. Both are HTTP GET requests that change state, so call each once.

2. Update the load as you plan it

Change the carrier-side details of a load with PUT .../segments/{segmentid} (segmentid is the same value as loadid). The body carries only the parts you are changing; stops are addressed by their DataGUID as _id:

TerminalCode
curl -X PUT "$CC/v1/partner/$P/segments/$LOADID" -H "$KEY" \ -H "Content-Type: application/json" \ -d '{ "Stops": [{ "_id": "stop-2", "LatestDate": "2026-10-01T12:00:00Z" }], "TripNotes": [{ "Note": "Driver swap at Findlay" }] }'
  • 200 {"status":"ok"} when everything was applied.
  • 207 {"status":"ok","warnings":["Permission denied for LatestDate"]} when some fields were skipped because the partner's role for you does not allow them.
  • 422 {"detail":"...","errors":[...]} when a field is invalid.

PUT .../loads/{loadid}/ and PUT .../loads/{loadid}/stops/{stopid} are the workflow-backed equivalents used by some partners; use the one your partner specifies.

3. Report arrivals and departures

TerminalCode
curl -X PUT "$CC/v1/partner/$P/loads/$LOADID/stops/S1/arrive" -H "$KEY" \ -H "Content-Type: application/json" \ -d '{ "ArrivalDate": "2026-09-30T12:05:00Z" }' curl -X PUT "$CC/v1/partner/$P/loads/$LOADID/stops/S1/depart" -H "$KEY" \ -H "Content-Type: application/json" \ -d '{ "DepartureDate": "2026-09-30T13:40:00Z" }'

stopid is the stop's StopId. The partner's webhooks fire on each event, so there is no need to send a separate status message.

4. Send positions

If the partner does not already receive your telematics through the platform, post positions against the load:

TerminalCode
curl -X POST "$CC/v1/partner/$P/loads/$LOADID/updategps" -H "$KEY" \ -H "Content-Type: application/json" \ -d '{ "Latitude": 40.996, "Longitude": -83.65, "PositionDateTime": "2026-10-01T13:42:10Z", "Speed": 62 }'

The schema in the reference lists the accepted fields. One position every 5 to 15 minutes while moving is typical; the partner can retrieve the history with Get GPS Positions.

5. Attach documents and notes

TerminalCode
curl -X POST "$CC/v1/partner/$P/loads/$LOADID/notes/" -H "$KEY" \ -H "Content-Type: application/json" \ -d '{ "noteType": "Dispatch", "noteBody": "Consignee closes at 16:00" }'

noteType and noteBody are required. Note types are partner-specific; fetch them with GET .../options/notetypes and send the Abbr.

Attachments (POST .../loads/{loadid}/attachments/) take a docType, a fileName, a mimeType, and either a fileUrl the platform can fetch or base-64 data. The operation is gated today; see Environments.

6. Hand back the paperwork

Proof of delivery and other documents attached to the load flow back to the customer through the platform. Once the final stop is departed and the documents are attached, the order shows as delivered on the customer's side and your part is done.

Errors you will see

ResponseMeaning
404 No orders found. on the loads listNothing shared with you on that page; stop paging.
401 Not authorized to partner.The partner has not approved API access for your company yet.
207 with warningsSaved, but the listed fields were ignored because of your role.

See the error catalog for the full list.

Last modified on