Internet & Web

What Is a Webhook?

A webhook is an event-driven HTTP callback: one service sends a request to another service when a particular event occurs.

The sender creates a payload and posts it to a configured endpoint. Receivers should verify signatures, handle retries, make processing idempotent and respond quickly before doing lengthy work.

Two practical examples

Example 1. A payment service sends a webhook when a payment succeeds.

Example 2. A source-control platform sends an event to a deployment system after code is pushed.

What to check in practice

  • Identify the exact device, software version or service involved before changing a setting.
  • Record the current configuration so you can reverse a change that causes problems.
  • Test one variable at a time and confirm the result using reliable measurements or logs.
  • Use the official documentation for model-specific limits, compatibility and safety requirements.
Important consideration

Never trust a webhook merely because it reaches your endpoint. Verify signatures over the raw request body and guard against replay and duplicate delivery.

Common question

What is the first thing to do? Start by identifying the exact use case and the system involved. Then verify the relevant settings or measurements before making changes. A general explanation is a starting point, not a substitute for checking your own environment.

TryHook publishes independent educational explainers. Product names and technical standards belong to their respective owners. Some pages may eventually contain clearly disclosed affiliate links; editorial explanations are not paid endorsements.

Explore more in Internet & Web

Continue with related beginner-friendly guides.

How Does the Internet Work?Read guideHTTP vs HTTPSRead guide