Quickstart

Add your first tracking and get a webhook when it changes. It takes about five minutes.

1. Create an API key

Sign up, then open API keys in the dashboard and create a test key. Send it as a bearer token on every request.

Authorization: Bearer test_...

2. Add a tracking

Send the tracking number. Add carrier if you know it, and custom_id to attach your own order reference.

curl -X POST https://api.trackified.net/v1/trackings \
  -H "Authorization: Bearer $TRACKIFIED_KEY" \
  -H "Content-Type: application/json" \
  -d '{"tracking_number": "1Z999AA10123456784", "custom_id": "order_1042"}'

We check the carrier within a minute, then keep checking on a schedule: every 4 hours until the first scan, every 2 hours in transit, and every 30 minutes once it's out for delivery.

3. Add a webhook

Register a URL and pick the events you want.

curl -X POST https://api.trackified.net/v1/webhooks \
  -H "Authorization: Bearer $TRACKIFIED_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/webhooks/tracking",
    "event_types": ["tracking.status_changed", "tracking.delivered"]
  }'

Every event is signed. Verify the signature before you trust it.

4. Read a tracking

curl https://api.trackified.net/v1/trackings/trk_... \
  -H "Authorization: Bearer $TRACKIFIED_KEY"

Errors

Errors return a JSON body with a stable code and a readable message. A few to expect: 401 unauthorized for a missing or revoked key, 402 quota_exceeded when you've used this month's trackings, 422 carrier_not_supported for a carrier we don't track yet, and 422 carrier_not_detected when we can't tell the carrier from the number alone (pass carrier explicitly).