When you ask for two systems to be connected, say your online store and Xero, or your practice software and a reporting dashboard, a developer will eventually ask: “Should we use webhooks or polling?” It sounds technical, but the answer affects how fast data moves, how much the integration costs to run, and what happens when something goes wrong.
The difference in one sentence each
- Polling: your integration asks the other system “anything new?” every few minutes.
- Webhooks: the other system tells your integration the moment something happens.
Think of polling as checking your letterbox every hour, and webhooks as a courier who rings the doorbell.
How they compare
| Polling | Webhooks | |
|---|---|---|
| Speed | Delayed by the polling interval | Near real time |
| API usage | High; many requests return nothing new | Low; only when something changes |
| Rate limits | Easier to hit | Rarely an issue |
| Availability | Works with almost any API | Only if the system offers webhooks |
| Reliability | Simple; missed checks are retried next time | Needs handling for missed or duplicate events |
| Security | Outbound requests only | Needs a public endpoint that verifies each message |
When to use which
- Webhooks for things people are waiting on: payments, new orders, bookings, form submissions, stock changes.
- Polling for systems without webhooks, or for data that only needs updating hourly or daily, like reports.
- Both in many good integrations: webhooks for speed, plus a scheduled check that catches anything missed.
Connecting two systems that don’t talk?
We build reliable integrations with webhooks, retries, monitoring and alerts, so data never silently goes missing.
What makes a webhook integration reliable
- Verify every message. Check the signature the sender provides so attackers can’t post fake events.
- Respond quickly, process later. Acknowledge the webhook, then do the work in a queue.
- Handle duplicates. Senders retry, so the same event can arrive twice. Make processing idempotent.
- Handle order. Events can arrive out of sequence; don’t assume they won’t.
- Reconcile regularly. A nightly check compares both systems and fixes gaps.
- Monitor and alert when events stop arriving or keep failing.
What it means for cost
Webhook-based integrations usually take a little longer to build because of security, queuing and reconciliation, but they’re cheaper to run and give a better experience. As a guide, a single integration with us starts around $8,000 and takes 2 to 4 weeks. See what an API integration costs for the full picture.
FAQ
Does Xero support webhooks?
Xero offers webhooks for some event types. Check the current Xero developer documentation for what’s covered.
Are webhooks secure?
Yes, when the receiving endpoint verifies signatures, uses HTTPS and validates the payload.
Why did my integration miss an order?
Often a webhook failed and wasn’t retried, or a polling job hit a rate limit. A reconciliation job catches these.
Have an integration that keeps breaking?
We take over and stabilise existing integrations, as well as building new ones.
