Articles on: API & Webhooks

What Happens if My Webhook is Down?

AfterShip Shipping sends events to each webhook URL via a POST request.

If the webhook URL fails to return a 200 HTTP response code, AfterShip Shipping will automatically retry the POST request up to 14 times, with increasing intervals between each attempt. The retry intervals follow this pattern: 2^number_of_failures × 30 seconds.

For example:

If the first attempt fails, AfterShip Shipping will retry the second attempt after 30 seconds.
If the fifth attempt fails, the sixth attempt will be retried after 960 seconds (16 minutes).
After the 14th failed attempt, no further retries will be made, and the webhook will no longer be sent.

Updated on: 03/02/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!