Skip to main content

Overview

Configure a webhook endpoint to receive HTTP POST notifications when orders and shipments transition through key lifecycle states. UrbnBox signs every delivery with an HMAC-SHA256 signature so you can verify authenticity before processing.

Configure a webhook

POST /api/vendor/v1/webhooks
The response includes a secret field. Store this value securely — it is shown only once and is used to verify the HMAC signature on incoming events.

Available events

Verifying the signature

Each delivery includes an X-UrbnBox-Signature header containing a HMAC-SHA256 hex digest of the raw request body, keyed with your webhook secret.
Reject any delivery where the signature does not match. Never process an event before verifying its signature.

Retry policy

UrbnBox retries failed deliveries (non-2xx or timeout) with exponential backoff up to 5 attempts over 24 hours. Respond with HTTP 200 as quickly as possible — queue heavy processing for a background job.

List and delete webhooks

GET /api/vendor/v1/webhooks — returns all configured webhooks for the vendor. DELETE /api/vendor/v1/webhooks/{id} — removes a webhook endpoint.