Set up webhooks
A webhook lets Klovio push an event to your system the instant it happens — a shipment goes out, stock runs low — instead of you polling for it. Webhooks are part of the Enterprise API.
How webhooks work
- You give Klovio a URL on your system that can receive web requests.
- You choose which events to subscribe to.
- When an event occurs, Klovio sends it to your URL as a small JSON message.
Set one up
- Go to Settings → Developers → Webhooks.
- Click Add webhook and enter your endpoint URL.
- Select the events — order shipped, stock low, receipt completed, and so on.
- Save. Klovio sends a test request so you can confirm it arrives.
Build your endpoint to be reliable
- Respond quickly — acknowledge the request, then do the work.
- Expect retries — if your endpoint is down, Klovio retries; handle a repeated event safely.
- Verify the source — confirm a request really came from Klovio before acting.
Webhooks vs. polling
A webhook arrives when the event happens. Polling means repeatedly asking “anything new?” Webhooks are faster and lighter — prefer them.
Tip: subscribe only to the events you’ll act on. Every extra event is traffic your endpoint has to handle for no benefit.
Was this article helpful?
Still stuck? Our team replies in about 47 minutes on average.