Webhook setup and troubleshooting

Hedvi sends a signed HTTPS event; the receiver verifies it, stores it once and responds with 2xx.
Treat the event ID as an idempotency key in your own database. View full-size diagram
  1. Deploy a public HTTPS route on your own server.
  2. Open Developers → Webhooks, enter the endpoint URL and choose Add endpoint.
  3. Save the signing secret in your receiver's secret store. It is different from an API key.
  4. Implement the signature verification example using the exact raw request body, before parsing or modifying it.
  5. Persist or enqueue the verified event, deduplicate on webhook-id, then return a 2xx response within 15 seconds.
  6. Choose Send test event and open Deliveries. Check the attempt count, HTTP response and final state.

Common failures

SymptomCheck
Signature mismatchUse this endpoint's signing secret, the original bytes and the supplied timestamp. Do not re-serialize JSON before verification.
Timestamp rejectedSynchronize the server clock. Accept a maximum clock difference of five minutes.
Redirect or authentication pagePoint directly at the final HTTPS receiver route. Redirects are not followed.
Timeout / 5xxSave work quickly and process it asynchronously. Make repeated events safe.
URL rejectedUse a publicly resolvable HTTPS address. Localhost, private networks and cloud metadata hosts are blocked.

Rotate, disable and replay

Use Rotate secret when the old secret may be compromised, then update your receiver immediately. Use Disable to stop delivery to an endpoint while fixing it. After repair, enable it and use the delivery's resend control for failed events. Replays retain the event ID; they must not repeat business actions already completed.