Tracking carriers using webhooks

If you have already created a webhook, labels purchased through Shippo will send tracking events to that webhook. Shippo also supports parcel tracking for labels purchased outside of Shippo.

The following list of carriers can only be tracked using webhooks. This means you cannot query the current status of shipment. For a list of carriers that support both webhook tracking and polling, review this list of carriers.

Carrier Name
CountryISO
Region
Carrier token
Carrier URL


Add tracking number to webhook

  1. If you have not already, create a tracking webhook.
    • Set the webhook Event Type to Track Updated.
    • Set the webhook Environment to Production.
    • Set the webhook URL to an address that can listen to your webhook.
  2. POST the below to the tracks endpoint.
Copy
Copied
curl https://api.goshippo.com/tracks/ \
  -H "Authorization: ShippoToken <API_TOKEN>" \
  -d carrier="<CARRIER_TOKEN>" \
  -d tracking_number="<TRACKING_NUMBER>" \