Glossary term
What is Webhook? Meaning for developers
In System Design
A server calls your URL when something happens. Example: Payment provider calls /webhooks/payment when a payment succeeds.
Learn it properly · System DesignLesson 34: Idempotency, Pagination & API VersioningA retried payment that charges twice, a list endpoint that loads three million rows, a renamed field that crashes every old app. Idempotency keys, cursor pagination and careful versioning — the unglamorous details that separate a demo API from a production one.In API Design
A request your server sends to a customer's URL when an event happens, so they do not have to keep asking.
Learn it properly · API DesignLesson 5: Idempotency Keys, Retries, Webhooks and Rate LimitsSafe retries with idempotency keys, webhooks with signatures and retries, rate limit headers, and long-running jobs.In Next.js App Router
A request another service sends to your URL when something happens, which you should verify with a signature over the raw body.
Learn it properly · Next.js App RouterLesson 4: Route Handlers, Middleware (Proxy) and APIsWriting API endpoints, request and response helpers, the request interception layer in this Next.js version, headers, redirects and rewrites.