Learn / Webhooks
Webhooks, explained
Short, practical guides for developers who receive webhooks: what they are, how to secure them, and how to keep them working when things go wrong. No sign-up needed.
Basics
- 01
What is a webhook? Webhooks vs. polling vs. WebSockets
How webhooks work, when to use them instead of polling or WebSockets, and what a webhook request looks like on the wire.
6 min read - 02
Webhook vs. API: what's the difference, and when to use each
An API answers when you ask; a webhook tells you when something happens. A side-by-side comparison with examples, and why most integrations use both.
5 min read - 03
What is a webhook URL? How to get one and keep it safe
What a webhook URL is, the two kinds you'll meet, how to get one for receiving events, what makes a good one, and how to stop strangers from using it.
6 min read - 04Español
¿Qué es un webhook? Explicación sencilla con ejemplos
Qué es un webhook, cómo funciona, en qué se diferencia de una API y qué hay que tener en cuenta para recibirlos de forma segura y fiable.
5 min read - 05Português
O que é webhook? Explicação simples com exemplos
O que é um webhook, como funciona, qual a diferença para uma API e o que é preciso para recebê-los com segurança e sem perder eventos.
5 min read
Platforms and tools
- 06
Discord webhooks: create a webhook URL and send messages
How to create a Discord webhook URL, send messages and embeds with curl or code, stay under rate limits, and connect GitHub and other services to a channel.
8 min read - 07
Slack webhooks: get an incoming webhook URL and post messages
Create a Slack incoming webhook URL, post text and Block Kit messages, understand Slack's errors and rate limits, and verify requests Slack sends to you.
7 min read - 08
Telegram bot webhooks: setWebhook, secret tokens and debugging
Switch a Telegram bot from getUpdates to a webhook: setWebhook parameters, verifying the secret token, replying, and fixing webhooks that stop delivering.
7 min read - 09
Home Assistant webhooks: trigger automations from anywhere
Use the webhook trigger in Home Assistant: find the webhook URL, read JSON from the request, keep it local or reach it through Home Assistant Cloud, and send webhooks out.
6 min read - 10
n8n and Zapier webhooks: test URLs, production URLs and common errors
Receive webhooks in n8n and Zapier: test vs. production URLs, responding to the sender, authentication, signature checks, and why you see “webhook is not registered”.
7 min read
Testing
- 11
How to test webhooks locally
Get real webhooks to the app on your laptop: tunnels, provider CLIs, replaying captured events, and what to check before you ship.
6 min read - 12
Webhook testing tools: webhook.site, ngrok, Postman and curl
Which webhook tester to use when: inspect requests with webhook.site, tunnel to localhost with ngrok, send signed test webhooks with Postman or curl, and replay real events.
7 min read
Reliability and security
- 13
Webhook security: HMAC signatures, timestamps and replay protection
Why every webhook endpoint must verify signatures, how HMAC verification works step by step, and the mistakes that quietly break it.
8 min read - 14
Webhook retries, idempotency and failure handling
How to design webhook handlers that survive downtime, duplicates and out-of-order events: retries with backoff, idempotency keys and dead letters.
8 min read - 15
Fixing Stripe webhook signature verification errors
“No signatures found matching the expected signature for payload”: the five causes, how to spot each one, and how to fix them in Node, Express and Next.js.
7 min read
Ready to stop losing webhooks?
HookStead verifies, stores, retries and replays them for you. Free up to 10,000 events a month.