Learn how AfterShip verifies and secures all the webhook requests.
|POST application/json||When the tracking is updated and it triggers an update of one of your trigger setting, we make a POST request to the callback URL that you defined in the webhook page.|
The post body contains a JSON string of the below data.ts - UTC unix timestamp that the event occurredevent - the code of the eventevent_id - UUID v4 format, to uniquely identify the webhook eventis_tracking_first_tag - indicate if it is the first tracking update sent under a specific delivery tag. This allows application to send only the key updates to end users (e.g. the first in transit, the first failed attempt)msg - details about the message for which the event occurred, in the following format.
|Update||Event Code||Event Type|
|Info receivedIn TransitOut for DeliveryAvailable for pickupDeliveredFailed attemptExpiredException|
|Estimated delivery date (EDD)|
|All EDD updates|