Webhooks

Event payloads

Every delivery is an HTTP POST to the URL you registered, with Content-Type: application/json and any headers you supplied at registration.

Envelope

A subscription is stored with the event type, the object (cardId) or object type, the destination url, your extra headers, and metaData.partnerId for the partnership it was registered under. Deliveries carry that context alongside the event data, so a receiver can route on event type and object without a lookup:

FieldMeaning
typeThe event type: update, archive, gps, hos, arrive, depart or truckperformance.
cardIdThe object the event is about (loadid, tractorguid, driverid).
metaData.partnerIdThe partnership the subscription was registered under.
payloadThe event data, described per type below.

Per-type payloads

TypePayloadRead it with
updateThe object's current fields, in the same shape as the matching detail read.Get Load Detail, Get Order Detail, Get Tractor, Get Driver
archiveThe object's identifier and final status.—
gpsA position: equipment, timestamp, latitude, longitude, speed and proximity, the same fields as a PositionActor.Get GPS Positions
hosThe driver's new duty status and its effective time.Get Hours of Service
arrive / departThe stop that changed, with its StopId, Sequence, the actual arrival or departure time, and the load's identifier.Get Load Detail
truckperformanceA PerformanceEvent summary for the tractor.Get Performance Events

Field-by-field samples for each event type are being assembled from live deliveries and will be added to this page. Until then, treat the payload as a superset of the matching reference schema and fetch the full record with the read operation in the table when you need a guaranteed shape.

Handling guidance

  • Acknowledge quickly with a 2xx and process asynchronously. Do not call CarrierCloud back inside the request handler.
  • Use type plus cardId plus the event timestamp as a de-duplication key; deliveries can repeat.
  • Expect events out of order under load; apply them by timestamp, not by arrival.
  • Do not rely on a webhook as the only record. A nightly reconciliation with the list operations catches anything missed.
Last modified on