Promptles
Backend & APIs

Webhook

intermediate

Definition

A way for one service to alert another the moment something happens, instead of the second service constantly asking 'anything new yet?' You give a service your address, and it pokes you whenever an event of interest takes place.

In the wild

An online store sets up a webhook with its payment processor. The moment a customer's payment goes through, the payment processor instantly notifies the store, which can then ship the order: without the store having to keep checking the payment system every few seconds.

More from Backend & APIs