Skip to content
Design Corner Knowledge Base ← Back to designcorner.co.ke
Knowledge Base

Software and Development

Webhook

Also known as: Webhooks, Callback URL

1 min read Updated November 10, 2026

Definition An automatic message one system sends to another the moment an event happens.

What it is

Instead of repeatedly asking whether something happened, a system sends a webhook to a URL you provide when an event occurs, such as payment received or form submitted.

Why it matters for your business

Webhooks enable real-time automation, such as confirming orders as soon as M-Pesa payment completes.

Real-world example

After an STK push, Safaricom sends a callback webhook to the shop, which marks the order paid instantly.

Design Corner tip

Verify webhook requests so attackers cannot send fake events.