Set up webhooks
Get notified about load updates in real-time.
Webhooks tell you when something changes. They're optional, but recommended. Not every integration needs every event. See the Webhooks overview for the full list of events.
- Build an HTTPS endpoint that accepts
POSTrequests with a JSON body. - Register a URL for each event type you want with
POST /webhookUrls, sending {"eventType": "...", "url": "https://..."}. UseGET /webhookUrlsto list your URLs andDELETE /webhookUrlsto remove one. - The event types are
LOAD,STOPS,LOAD_BOOKING_STATUS,LOAD_QUOTE,LOAD_ETA_STATUS,VEHICLE_TRACKINGandLOAD_AND_POD_DOCUMENTS. - For
LOADandSTOPSevents, setcallbackRequired: trueon the load. Other events don't need it. - Webhook requests include your API key in the X-API-KEY header, so you can check that they come from TEG.
- Respond quickly with any 2xx status (200 recommended). Failed deliveries are retried up to 3 times, about every 5 minutes. The connection timeout is 500 ms and the response timeout is 30 seconds.
- Delivery is at-least-once and order isn't guaranteed, so make sure your endpoint can handle duplicate events.
Next: Load lifecycle.
Updated about 6 hours ago
Did this page help you?