Leep.
HomeBusiness DevelopmentWeb & EngineeringWork
Contact
Log in
Leep.

Custom websites and web applications for ambitious companies.

Navigation

  • Home
  • Work
  • Contact

Services

  • Website
  • App
  • AI Implementation

Resources

  • Articles
  • Dictionary

Contact

  • hello@leep.no

© 2026 Leep. All rights reserved.

Back to Dictionary
Technology

What is Webhook?

Last updated: January 15, 2025

On this page

TL;DRExampleExplanationWhy It MattersRelated Terms

TL;DR

A webhook is an automatic notification sent from one app to another when something happens, like getting a text message when you receive an email.

Example

How webhooks work:

  1. You tell App A: "When X happens, notify this URL"
  2. X happens in App A
  3. App A immediately sends data to your URL
  4. Your system receives the data and does something

Real examples:

  • Stripe webhook: When payment succeeds → update your database
  • GitHub webhook: When code is pushed → trigger build process
  • Shopify webhook: When order is placed → notify warehouse
  • Slack webhook: When form is submitted → send message to channel

Without webhooks (polling): Your system asks "Any new orders?" every 5 seconds. Wastes resources and has delays.

With webhooks (push): Shopify tells you the moment an order arrives. Instant and efficient.

Explanation

Webhook Anatomy

A webhook is just an HTTP request. When triggered, the source app sends:

To: Your specified URL (the "endpoint") Method: Usually POST Body: Data about what happened (JSON format) Headers: Authentication, content type

Example Stripe webhook payload:

{
  "type": "payment_intent.succeeded",
  "data": {
    "amount": 5000,
    "currency": "nok",
    "customer": "cus_123abc"
  }
}

Your server receives this and processes it accordingly.

Security

Always verify webhooks are legitimate:

  • Check the signature/secret provided by the service
  • Use HTTPS endpoints
  • Validate the payload structure
  • Return proper response codes

Why It Matters

For Business Owners

Webhooks enable automation. Instead of manually checking systems, things happen automatically. Order comes in → invoice generates → warehouse notified → customer emailed. All instant, all automatic.

Webhooks connect your tools. Your payment system, email tool, CRM, and inventory can all talk to each other in real-time.

Webhooks are more efficient than alternatives. Constant polling ("checking") wastes server resources. Webhooks only fire when needed.

Common Use Cases

  1. E-commerce: Order → fulfillment → shipping notifications
  2. SaaS: Subscription changes → billing updates → access control
  3. Communication: Form submission → team notification → CRM update
  4. Development: Code push → tests run → deployment triggers

If you use Zapier, Make, or similar tools, you're already using webhooks behind the scenes.

Related Terms

SaaS

SaaS (Software as a Service) is software you access through the internet and pay for monthly, instead of installing it on your computer.

API

An API (Application Programming Interface) is a way for different software programs to talk to each other and share data.

Integration

An integration connects two or more software applications so they can share data and work together automatically.

Need help with your digital project?

We build websites, apps, and digital solutions for businesses.

Get in touch