Webhooks
Subscribing to events with signed, at-least-once delivery.
Some APIs publish events you can subscribe to instead of polling. Availability and event types are documented per API.
Delivery semantics
Deliveries are at-least-once — design handlers to be idempotent, as the same event may arrive more than once.
Verifying signatures
Payloads are signed. Verify the signature on every delivery before acting on it, and reject anything that doesn't validate.
Retries
Failed deliveries are retried with back-off. Return a 2xx promptly to acknowledge;
do heavy work asynchronously.