Webhooks Explained: Simplifying Real Time Communication
Simranjit Singh
Group Manager (UC & CC), Network/UC Automation (Ansible/Python/REST/SOAP APIs)
The ever-evolving landscape of modern applications & the need for organizations to have real time visibility of their infrastructure has resulted in the birth of a special technology called “Webhooks”. Unlike traditional APIs where one system actively polls another for information, Webhooks allow systems to push data to each other whenever an event occurs thereby enabling real-time communication. It’s because of this special feature that Webhooks are sometimes referred to as “Reverse APIs”. In simple terms, a Webhook is an HTTP POST request which is triggered as a result of a certain event in the system.
In this multi-part series, we will start off by explaining what Webhooks are, how they work and finally end it with a practical real world use case. The table of contents is listed below. You can jump to the relevant section by clicking on the corresponding link,
Webhook Operational Stages
The implementation of a Webhook typically involves following stages
Stage 1 – Subscription
Stage 2 – Event Trigger
Stage 3 – HTTP POST Request
Stage 4 – Processing the Payload
An Example
Let’s say we have a proprietary application that’s hosted on the cloud or we are using any public SaaS solution like Zoom. Our objective is that we want our local application to be notified every time a certain specific event occurs on our Zoom instance. For example, when a certain Zoom meeting is being recorded, we want our application to get notified when the recording is done & available for download. This is a good real world example which can help us keep track of how many meetings have been recorded and downloaded for reporting purposes.
To explore the rest of the article in detail, please head over to the following link