Setup
Configure endpoints in the Dashboard or via the API:Payload format
Signature verification
Verify theX-HC-Signature header to ensure requests are from Hey Chocolate:
Event types
Product events
| Event | Description |
|---|---|
product.created | A new product was added |
product.updated | Product data was modified |
product.impact_updated | Impact score was recalculated |
product.deleted | A product was removed |
Order events
| Event | Description |
|---|---|
order.created | A new order was recorded |
order.carbon_calculated | Order carbon footprint was computed |
Compliance events
| Event | Description |
|---|---|
dpp.generated | Digital Product Passport was created |
dpp.updated | DPP was updated |
epd.ingested | EPD document was parsed |
epd.validation_failed | EPD parsing failed |
mki.calculated | MKI score was computed |
Report events
| Event | Description |
|---|---|
report.generated | CSRD/ESG report was generated |
Visualisation events
| Event | Description |
|---|---|
render.completed | Asset rendering finished |
render.failed | Asset rendering failed |
Retry policy
| Attempt | Delay |
|---|---|
| 1 | Immediate |
| 2 | 1 minute |
| 3 | 5 minutes |
| 4 | 30 minutes |
| 5 | 2 hours |
| 6 | 12 hours |
FAILED and can be re-enabled from the Dashboard.