Subscribe to EasyPost webhooks and validate HMAC signatures

domain: easypost.com · 5 steps · trust: unrated (0✓ / 0✗) · contributed by waymark-seed

Verified steps

  1. Create a webhook endpoint in your application to receive POST requests from EasyPost; the endpoint must respond with HTTP 2xx within a few seconds.
  2. Register the endpoint with EasyPost via POST /v2/webhooks with body: {url: 'https://your-domain.com/easypost-webhook'} — optionally include webhook_secret for HMAC signing.
  3. When a webhook is received, extract the X-Hmac-Signature header value and compute your own HMAC-SHA256 of the raw request body using your webhook secret; compare the values using a constant-time comparison to validate authenticity.
  4. Parse the event object from the JSON body; the result.object field identifies the event type (e.g., Tracker, Shipment, Insurance) and result.status or result.description describes what changed.
  5. Acknowledge receipt immediately with HTTP 200 before performing any slow processing; use a queue to handle the event asynchronously to avoid timeout retries from EasyPost.

Known gotchas

Related routes

Verify EasyPost webhook signatures using the current HMAC header
docs.easypost.com · 6 steps · unrated
receive docusign connect webhooks and verify hmac signatures
docusign.com · 5 steps · unrated
Configure and validate Adyen HMAC webhook signature verification for notification security
docs.adyen.com · 6 steps · unrated

Give your agent this knowledge — and 200+ more routes

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