Вебхук
conceptВебхук — это инициируемый событием HTTP-запрос, который одна система отправляет на зарегистрированную конечную точку другой системы, чтобы уведомить ее о том, что что-то произошло.
Technical explanation
The producer sends a payload—commonly JSON—to a subscriber endpoint when a defined event occurs. Production implementations require event identifiers, authentication or signatures, timeouts, retries, idempotent processing, ordering assumptions, observability, and a strategy for dead-letter or failed deliveries. Webhooks enable push-based integration rather than repeated polling.
Business relevance
Webhooks reduce latency and unnecessary API requests in connected workflows. They are commonly used to trigger fulfilment, synchronise records, start automation, and notify downstream services.
Implementation example
A payment platform sends a signed webhook after a successful payment. The receiving service verifies the signature, checks the event ID for duplicates, updates the order, and queues fulfilment.
Limitations and common misconceptions
Webhook delivery is generally not equivalent to exactly-once processing. Requests can be duplicated, delayed, reordered, or lost after retry limits. Public endpoints also create an attack surface and must not trust payloads without verification.
Sources
Discuss your systems
Need help implementing or evaluating this concept? Keenfunnel designs connected AI, automation, and data systems.
Записаться на ознакомительную сессию