Ingest a project44 push webhook for shipment milestone events and reconcile milestone codes into a canonical tracking status

domain: project44.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Register a webhook subscription via POST /api/v4/webhooks with event types including SHIPMENT_STATUS_UPDATE and ESTIMATED_DELIVERY_UPDATE; provide a publicly reachable HTTPS endpoint URL and store the returned webhookId
  2. Validate inbound webhook requests by reading the p44-signature header and comparing an HMAC-SHA256 digest of the raw request body against the shared secret stored at subscription time
  3. Parse the payload's shipmentStatusEvents array; each event contains a statusCode (p44 milestone code such as InTransit, OutForDelivery, DeliveryAttempted), an eventDateTime in ISO 8601 UTC, and a statusReason object
  4. Map p44 statusCodes to your internal canonical states using a lookup table; treat any unmapped code as UNKNOWN rather than discarding, and emit an alert for manual review
  5. Persist each milestone with the shipmentId, carrier SCAC, event timestamp, and ingestion timestamp; use the eventId field for idempotency to prevent duplicate inserts on webhook retries
  6. Acknowledge the webhook by returning HTTP 200 within 5 seconds; if processing is slow, enqueue the payload to a message queue and process asynchronously before the p44 retry window expires

Known gotchas

Related routes

Track a shipment with the EasyPost Trackers API and receive webhook events
easypost.com · 5 steps · unrated
Track ocean container milestones via carrier and terminal APIs and handle milestone code variance
logistics-general · 6 steps · unrated
Track a FedEx shipment and receive real-time status updates via the FedEx Track API and Shipment Visibility Webhooks
developer.fedex.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans