Zapier
There is no Airtrack app in Zapier yet. Use Webhooks by Zapier, which works the same way.
Set up
- Create a Zap with the trigger Webhooks by Zapier → Catch Hook, and copy its URL.
- Register it with Airtrack:
bash
curl -X POST https://www.air-cargo.io/api/webhooks/ \
-H "Authorization: Bearer <api-key>" \
-H "Content-Type: application/json" \
-d '{"url": "https://hooks.zapier.com/hooks/catch/...", "events": ["status_change"]}'- Send a test with
POST /api/webhooks/{id}/test, then click Test trigger in Zapier to load the fields. - Add your action (Gmail, Google Sheets, Slack…) and map fields such as
shipment awb,shipment statusandevent location.
See the payload for every field.