Printhawk

Prodigi webhooks and order callbacks

Updated

Short answer

Prodigi’s v5 reference documents webhook subscriptions for 16 order, shipment, asset and product events, signed with HMAC-SHA256. But Prodigi’s FAQ said on 27 November 2026 that subscriptions weren’t yet available in v5. What works today is a per-order callbackUrl, delivered in the v4 format. Poll the API for anything else.

Prodigi’s documentation and FAQ disagreed on the day we checked. If you plan to rely on webhooks, create a subscription with a sandbox key and use the test delivery before building on it.

Option 1: per-order callbacks (available now)

Set callbackUrl (an absolute http or https URL, up to 4,000 characters) when you create an order. Prodigi sends that order’s status updates there. Things to know:

Option 2: webhook subscriptions (documented)

The v5 reference describes /webhooks: subscribe an HTTPS endpoint to a list of events (up to 32 per subscription), enable or disable it, and send a test. The event types:

GroupEvents
Ordersorder.created, order.submitted, order.updated, order.cancelled, order.paused, order.resumed, order.failed, order.completed
Shipmentsshipment.dispatched, shipment.in_transit, shipment.delivered, shipment.exception
Assetsasset.ready, asset.failed
Productsproduct.published, product.unpublished

Each delivery has an id, type, occurredAt and data; order events include at least orderId. Shipment events carry a shipment ID; match it to the order with GET /shipments/{id}, which always includes orderId.

Verifying signatures

  1. Read the X-Prodigi-Signature header: t=<unix timestamp>, v1=<signature>.
  2. Compute the hex HMAC-SHA256 of <timestamp>.<raw body> with your secret, using the original bytes, before parsing.
  3. Compare it with v1 in constant time.
  4. Reject timestamps more than five minutes old, to stop replays.
  1. Read the signature header
  2. HMAC-SHA256 of timestamp.body
  3. Compare with v1
  4. Reject if over 5 minutes old
Checking a webhook signature, per Prodigi’s v5 reference

If you don’t supply a secret when subscribing, Prodigi generates one and returns it once, in the create response only. Store it then.

Testing

POST /webhooks/{id}:ping sends a signed ping event and returns delivered (true if your endpoint answered 2xx in time), statusCode and a transport error. Run it from the sandbox first.

Option 3: polling

Reliable and simple: list recent orders by status (GET /orders?status=on_hold, failed, paused) and read GET /orders/{id}/events for history. Stay inside 1,000 requests per hour per key. Printhawk works this way: it reads your orders through the same API and shows what needs you on its Today screen. It doesn’t send push notifications yet.

Questions

Does Prodigi API v5 support webhooks?

The v5 reference documents webhook subscriptions, but Prodigi's FAQ said on 27 November 2026 that they weren't currently available, and that per-order callbacks in the v4 format are supported. Test before relying on them.

What is a Prodigi callback URL?

A URL you set on an order (callbackUrl) that receives that order's status updates. In v5 the deliveries use the v4 callback format, and the order ID carries the ord_ prefix.

How do I verify a Prodigi webhook?

The documented scheme is an X-Prodigi-Signature header with a timestamp and a hex HMAC-SHA256 of the timestamp, a dot and the raw body, using your subscription secret. Reject timestamps over five minutes old.

Can I test a Prodigi webhook?

The reference documents POST /webhooks/{id}:ping, which sends a signed test event and reports whether your endpoint answered with a 2xx, its status code and any error.

Sources