Skip to main content

Webhooks

Retry Policy

Webhook requests will timeout after 30 seconds. If the Client API does not return a 2xx response in 30 seconds, then the webhook will be considered failed.

  • Retry count: 5
  • Retry interval: 60 seconds

Events

EventDescription
shipment.createdOccurs when a new shipment is created
shipment.rate_adjustmentTriggered when the final rate is set/adjusted for the shipment
shipment.modifiedOccurs every time a shipment is modified in the TMS
shipment.assignedShipment has been assigned to a carrier
shipment.picked_upShipment has been picked up by the carrier
shipment.deliveredShipment has been delivered by the carrier
shipment.bol_availableThe BOL for the shipment is completed and available
shipment.canceled_by_carrierShipment was canceled by the carrier
shipment.canceledShipment was canceled by the shipper

shipment.created

Occurs when a new shipment is created

{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.created",
"event_date": "2024-08-10T08:00:00+0000"
}

shipment.rate_adjusted

Triggered when the final rate is set/adjusted for the shipment

The rate adjusted payload has these additional fields:

FieldTypeDescription
data.price.old_valuenumberthe price of the shipment before the change
data.price.new_valuenumberthe new price of the shipment
data.price.differencenumberthe difference of the price change
{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.rate_adjusted",
"event_date": "2024-08-10T08:00:00+0000",
"data": {
"price": {
"old_value": 225,
"new_value": 250,
"difference": 25
}
}
}

shipment.modified

Occurs every time a shipment is modified in the TMS

The shipment.modified payload has these additional fields:

FieldTypeDescription
data.....old_valuestring OR nullthe original value of the key before the change
data.....new_valuestring OR nullthe new value of the key
{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.modified",
"event_date": "2024-08-10T08:00:00+0000",
"data": {
"customer": {
"customer_name": {
"old_value": "Customer",
"new_value": "Customer, LLC."
}
},
"pickup": {
"notes": {
"old_value": null,
"new_value": "Please call ahead at (XXX) XXX-XXXX"
}
}
}
}

shipment.assigned

Shipment has been assigned to a carrier

The shipment.assigned payload has these additional fields:

FieldTypeDescription
data.carrier_namestringthe name of the Carrier company
data.carrier_usdotstringthe USDOT number of the carrier
data.carrier_emailstringthe dispatch email for the carrier
data.carrier_phonestringthe dispatch phone for the carrier
data.driver_namestringthe name of the driver being sent in by the carrier
data.driver_phonestringthe phone number for the driver being sent in
{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.assigned",
"event_date": "2024-08-10T08:00:00+0000",
"data": {
"carrier_name": "Carrier Company, LLC.",
"carrier_usdot": "0010001",
"carrier_email": "carrier@email.com",
"carrier_phone": "(214) 214-3530",
"driver_name": "My Driver",
"driver_phone": "(214) 214-3530"
}
}

shipment.picked_up

Shipment has been picked up by the carrier

{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.picked_up",
"event_date": "2024-08-10T08:00:00+0000"
}

shipment.delivered

Shipment has been delivered by the carrier

{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.delivered",
"event_date": "2024-08-10T08:00:00+0000"
}

shipment.bol_available

The BOL for the shipment is completed and available

The shipment.bol_available payload has these additional fields:

FieldTypeDescription
data.bol_urlstring OR nullthe URL for the BOL PDF
{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.bol_available",
"event_date": "2024-08-10T08:00:00+0000",
"data": {
"bol_url": "https://bol.crestlineautotransport.com/QO1bxqJyvQgOj3MqVdkQNxXPe"
}
}

shipment.canceled_by_carrier

Shipment was canceled by the carrier

info

This will unassign the carrier and driver from the shipment

{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.canceled_by_carrier",
"event_date": "2024-08-10T08:00:00+0000"
}

shipment.canceled

Shipment was canceled by the shipper

info

This will mark the shipment as canceled and will no longer be an active shipment

{
"shipment_id": "f210b4f3-c367-466b-81a6-35e0aedbf442",
"event": "shipment.canceled",
"event_date": "2024-08-10T08:00:00+0000"
}