Skip to main content
TruckerFetch customer webhooks notify your system about published editions, watchlist matches and export outcomes. Configure destinations and review delivery attempts in Customer webhooks.

Register your destination

Use an HTTPS endpoint you control. Destination URLs cannot contain credentials, query strings or fragments. Save the signing secret securely when it is revealed. During verification, TruckerFetch sends a signed endpoint.verify event with a challenge field. Verify the request signature, then return the exact challenge as the response body with a 2xx status. The endpoint must pass verification before normal deliveries begin. Supported subscriptions are edition.published, edition.corrected, watchlist.matched, export.ready and export.failed. Developer credentials with webhooks:read can read /webhook-endpoints and /webhook-deliveries; endpoint and secret management stay in the signed-in dashboard.

Verify before processing

Read these headers and retain the raw request body before parsing JSON:
  • TruckerFetch-Event-Id
  • TruckerFetch-Key-Id
  • TruckerFetch-Timestamp
  • TruckerFetch-Signature
The timestamp is Unix time in seconds. The signature is v1= followed by the hex HMAC-SHA256 of the event ID, a period, the timestamp, a period, and the exact body bytes. The signing secret is supplied as base64url; decode it to bytes first.
Reject malformed or stale timestamps under your replay policy. Persist the verified event ID with your work and deduplicate repeated deliveries. A signature comparison alone does not prevent replay.

Acknowledge and retrieve details

After you durably accept a verified event, return a 2xx response. The event carries id, type, schema_version, occurred_at and a relative resource path. Retrieve that resource from https://truckerfetch.com with an appropriately scoped API key; the notification does not grant access by itself. Deliveries can repeat, fail or arrive after permissions change. Return promptly and do heavier work asynchronously. A 410 response disables the endpoint. Use dashboard delivery history to inspect failures and request a replay when appropriate.