Articles on: API & Webhooks

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 the POST request body.

The webhook envelope contains:



Events




Example



calculated rate webhook

Updated on: 04/12/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!