Delivery, retries and security
Your endpoint
- Must be reachable over HTTPS on the public internet with a certificate browsers trust.
- Must answer within a few seconds. Return
200as soon as the delivery is persisted; do the work afterwards. - Should accept
POSTwith a JSON body and ignore unknown fields.
Authenticating deliveries
The platform does not sign deliveries. Authenticate them with the headers you register:
Code
Every delivery for that subscription carries X-Hook-Secret. Reject requests without it. Rotate the value by registering a new subscription with the new header and removing the old one.
Also restrict the endpoint to the event types and object types you registered; anything else is noise or a mistake.
When your endpoint is down
Deliveries that fail are retried for a limited period and then dropped. Because the retry window is not something your integration should depend on, treat webhooks as a low-latency hint and keep a reconciliation path through the list operations:
- On start-up after an outage, call
Get Loads/Get Orderswithpage=1and walk pages until404 No orders found. - For positions, call
Get GPS Positionswithstartdateset to the last fix you stored.
Removing subscriptions when you are done
Unused subscriptions keep delivering. Remove object-level subscriptions when a load completes, and type-level subscriptions when an integration is retired, with the DELETE routes in the overview.
Support
If deliveries stop arriving, send [email protected] the partner code, the registration _id (object-level) or the object type and event type (type-level), and the time window. Include a requestId from any failing API call.