added

New Webhook for Driver Dispatch Form Entry

We have now added a new webhook that is triggered when a new driver dispatch form entry is either created or updated. This allows the applications to synchronize dispatch or dispatch form information in real-time.

Below is the sample payload for this Webhook:

{
  "trigger": "created",
  "company_id": 160,
  "id": 77286,
  "form_id": 80292,
  "driver_id": 1056424,
  "vehicle_id": 110750,
  "dispatch_id": 40647,
  "dispatch_stop_id": 74191,
  "dispatch_trip_id": null,
  "bearing": null,
  "city": "Islamabad",
  "created_at": "2025-04-11T05:49:52Z",
  "entered_at": "2025-04-11T05:50:38Z",
  "lat": 33.6374721,
  "lon": 73.1529747,
  "rg_brg": 146.9229008955778,
  "rg_km": 11.626666965605796,
  "rg_match": false,
  "state": "PK",
  "stop_category": "additional_stop",
  "current_load_number": null,
  "freight_bill_id": null,
  "submitted": true,
  "entry": {
    "name": "Bar"
  },
  "form_version": 4,
  "speed": 0,
  "location": "7.2 mi SE of Islamabad, PK",
  "odometer": null,
  "vendor_dispatch_id": "1744302113019687286",
  "vendor_stop_id": "G13-3",
  "action": "form_entry_upserted"
}