Webhooks
As part of our premium features for Enterprise accounts we have the possibility to enable webhooks on demand.
Events
Currently we have released v1 that contains the following events:
- injected - notification as soon as is scanned in our sorting hubs
- sorted - notification as soon as is scanned to allocate into the vehicle
- delivered - confirmation the parcel was placed to the customer's location
- failed - notification as soon as the driver notifies any incident
- cancelled - notification as soon as operationally this order has been discarded for delivery
Payload
Example of a payload that will be sent via HTTP POST
{
"sender_external_id": "111test",
"id": "DEFLT2743V6KGL56",
"public_link": "https://dashboard.sendit.green/tracking?public_id=DEFLT2743V6KGL56&postalcode=48155",
"timestamp": "2022-02-19T13:33:07.554Z",
"event": "sorted"
}
Authentication
Currently we are allowing 3 different options:
- Static key on URL
- HTTP Basic Auth
- HTTP Bearer Auth
- None
Requirements
We will just need from you the URL and the Authentication Option of your choice.