Prodigi webhooks and order callbacks
Updated
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:
- Deliveries use the v4 callback format, even for v5 orders.
- The callback carries the order ID with the
ord_prefix (data.order.id), while v5 order IDs are numeric. Strip or add the prefix when matching. - Prodigi’s migration guide says both ways of setting a callback URL from v4 keep working.
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:
| Group | Events |
|---|---|
| Orders | order.created, order.submitted, order.updated, order.cancelled, order.paused, order.resumed, order.failed, order.completed |
| Shipments | shipment.dispatched, shipment.in_transit, shipment.delivered, shipment.exception |
| Assets | asset.ready, asset.failed |
| Products | product.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
- Read the
X-Prodigi-Signatureheader:t=<unix timestamp>, v1=<signature>. - Compute the hex HMAC-SHA256 of
<timestamp>.<raw body>with your secret, using the original bytes, before parsing. - Compare it with
v1in constant time. - Reject timestamps more than five minutes old, to stop replays.
- Read the signature header
- HMAC-SHA256 of timestamp.body
- Compare with v1
- Reject if over 5 minutes old
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
- Prodigi Print API v5 reference: WebhookEventType, WebhookPayload, WebhookCreateRequest, WebhookCreated, POST /webhooks/{webhookId}:ping, Order.callbackUrl, Shipment.orderId (prodigi.com/print-api/docs), read 27 November 2026.
- Prodigi FAQ, Print API (“Does Prodigi API v5 support webhooks?”) (prodigi.com/faq/print-api), read 27 November 2026.
- Prodigi blog, “How to migrate from v4 to v5 of our print API”, 2 November 2026 (callbacks, order IDs), read 27 November 2026.