Comment on page
Webhooks
Webhooks allow you to subscribe to events that Shippify generates every time a delivery or route is changed. When one of those events is triggered, we'll send a HTTP POST request to the webhook's configured URL.
In your Shippify account, go to the left menu, choose the Automations section, look for `Push Webhook` in the left side menu and press the `+` button.


In this section you can manage the URL's you declare for each of the events you want to subscribe to. You can also test your webhooks in this section and you'l receive a sample payload.
Specification of events available for webhooks:
Name | Description |
Delivery is created | Fires whenever a new delivery is created. |
Delivery is in transit | Fires when a delivery has been collected and is in transit. |
Delivery completed | Fires when a delivery has been delivered. |
Delivery returned | Fires when a delivery has been returned to the warehouse. |
Delivery canceled | Fires when a delivery was canceled by an operator. |
When one of the events listed previously is done, the webhook is executed and sends the following payload:
Payload received in URL:
{
"id":"t-xyz-123",
"routeId": null,
"networkId": 225,
"networkName": "Default-company test",
"jobId": null,
"blocked": false,
"cityId": 2,
"cityName": "Guayaquil",
"cityLang": "es",
"companyId": 1,
"companyName": "Shippify Inc.",
"companyPlanType": "postpaid",
"companyParentId": 1,
"companyMode": 0,
"shipperId": null,
"type": "flex",
"vehicleCapacity": 2,
"price": 2.75,
"scheduledStartPickingDate": "2021-06-23T18:00:00.000Z",
"scheduledEndPickingDate": "2021-06-23T19:00:00.000Z",
"arrivalPickupDate": null,
"scheduledStartDeliveryDate": "2021-06-23T19:00:00.000Z",
"scheduledEndDeliveryDate": "2021-06-24T00:00:00.000Z",
"arrivalDeliveryDate": null,
"creationDate": "2021-06-22T20:51:27.000Z",
"pickupDueDate": null,
"deliveryDueDate": null,
"pickingPlace":{
"lat": -2.1594806,
"lng": -79.895742599,
"originalAddress": "torres del norte, av. 9, guayaquil 090512, ecuador",
"address": "torres del norte, av. 9, guayaquil 090512, ecuador"
},
"droppingPlace":{
"lat": -2.1693477,
"lng": -79.8985397,
"originalAddress": "san marino shopping, av. francisco de orellana, guayaquil 090512, ecuador",
"address": "san marino shopping, av. francisco de orellana, guayaquil 090512, ecuador"
},
"recipientInfo":{
"name": "Test recipient",
"email": "[email protected]"
},
"senderInfo":{
"name": "Test sender",
"email": "[email protected]"
},
"state": 1,
"tags": null,
"items":[
{
"name": "1",
"qty": 1,
"size": "S",
"price": 0,
"weight": 0,
"fragile": false,
"pickedUp": false,
"delivered": false
}
],
"referenceId": "referenceId",
"notes": null,
"attempts": 0,
"countryCode": "EC",
"countryName": "ECUADOR",
"currencyCode": "USD",
"formulaId": "815",
"cash": 0,
"distance": 1.7999999523162842,
"distanceRoute": 1.7999999523162842,
"eventEntity": "delivery",
"eventDate": "2021-06-22T20:51:27+00:00",
"itemsNumber": 1,
"itemsWeight": 0,
"itemsPrice": 0,
"dbId": 214280954,
"eventType": "DELIVERY_CREATED_SUCCESSFULLY",
"eventCreatedAt": "2021-06-22 20:51:27",
"eventDescription": "Delivery was created successfully",
"status": "processing",
"eventId": 1624395087667
}
Last modified 1mo ago