Webhook - Tracking location
Webhooks are notifications sent by us to an HTTP endpoint which ideally is going to be redirected to one of your services. They are useful for you to be notified whenever something important happens on our side that you should know.
All the notifications are sent as a
POST HTTP request to an endpoint that you are going to tell us along with a optionally configured authentication key that you can also send to us, so you can check if the notification is coming from us.
To configure the webhook URL, get in contact with us.
This is an example of the request header you will receive:
host: YOUR_WEBHOOK_URL Accept: */* Content-Type: application/json User-Agent: Typhoeus - https://github.com/typhoeus/typhoeus X-API-KEY: YOUR_API_KEY_HERE X-APIKEY: YOUR_API_KEY_HERE X-Signature: sha1=148a6d4a0e95dada696d20f702caf027b548704a Content-Length: 1373 Connection: keep-alive
This webhook is going to notify the endpoint on each 30 seconds with the last captured position of the courier.