REST Hook

A webhook subscription pattern where the consumer registers a callback URL via REST and the producer POSTs events to it.

Definition

REST Hooks is a convention for webhook subscriptions managed through normal REST endpoints: the consumer POSTs a subscription with a target URL, the producer POSTs events to that URL when they happen, and the consumer DELETEs the subscription to stop. Zapier popularised the pattern; many SaaS APIs (Pipedrive, Stripe) implement it.

When to use

See also