Webhooks
ProcureIQ webhooks deliver real-time events for orders, payments, support, products, and automations.
Register a subscription
curl --request POST https://api.procureiq.com/api/v1/webhooks \
--header 'x-api-key: piq_live_xxx' \
--header 'content-type: application/json' \
--data '{
"name": "Fulfilment system",
"url": "https://example.com/webhooks/procureiq",
"events": ["order.created","payment.succeeded"]
}'
Delivery headers
x-procureiq-signaturex-procureiq-eventx-procureiq-deliveryx-procureiq-timestamp
Handling guidance
- Verify the signature.
- Respond with a 2xx quickly.
- Queue internal work asynchronously.
- Use delivery replay for recovery.