Receiving a Webhook Notification
When making AfterShip Shipping API request, you can give a parameter async=true to receive a webhook notification when AfterShip Shipping has the response ready. In order to receive a webhook, you need to enable the webhook setting first. In the API request, you have to: Webhook data is sent as JSON in theFew readersWhat Happens if My Webhook Is Down
AfterShip Shipping sent the events for each webhook URL with POST request. If the webhook URL doesn't return a 200 HTTP response code, that POST request will be re-attempted up to 14 times in increasing intervals: 2^numberoffail x 30s e.g. If the attempt fail, AfterShip Shipping will retry the 2nd attempt 30s later. If the 5th attempts fail, AfterShip Shipping retry the 6th attempt 960s later If the 14th attempts fail, AfterShip Shipping retry not send out that webhook any morFew readersHow to Use AfterShip Shipping Webhook?
A webhook lets an application share real-time information with other apps. Since data transfer happens instantly, the popularity of webhooks is increasing rapidly these days. With AfterShip Shipping webhook, you can receive the push update when the API is made asynchronously. Here’s how you can enable it: 👨💻 How to setup the Webhooks Go to your AfterShip Shipping account’s ‘Webhooks’ settings Add webhook URL 👨💻 Webhook SignaFew readers