A webhook is a way for an application to provide real-time information to other applications. It is also referred to as a web callback or HTTP push API.
A webhook is event-based, providing you data as soon as the event occurs. This makes webhooks more efficient than typical APIs, as they are request-based, and must fetch data at very short intervals to approximate real-time. The only drawback of webhooks is the initial setup effort.