Frequent questions about webhooks: how they differ from APIs, why signatures matter, and how to handle retries.
- Webhook vs API?
An API is pull: you call the server. A webhook is push: the server calls you. Most platforms use both: webhooks for events, APIs for queries.
- Why verify signatures?
Because the endpoint is public. Without verification, anyone can POST a fake event. Signatures prove the payload came from the expected sender.
- What about retries?
Every serious platform retries failed webhooks with exponential backoff for hours or days. Your endpoint must be idempotent.
- Can webhooks replace polling entirely?
No. Webhooks are unreliable by design. Keep a reconciliation job that polls daily, to catch the events webhooks lost.