For Developers- Webhooks

A webhook is an API concept that’s growing in popularity. As more and more of what we do on the web can be described by events, webhooks are becoming even more applicable. They’re incredibly useful and a resource-light way to implement event reactions.

So, what exactly is a webhook? A webhook (also called a web callback or HTTP push API) is a way for an app to provide other applications with real-time information. A webhook delivers data to other applications as it happens, meaning you get data immediately. Unlike typical APIs where you would need to call for data very frequently in order to get it real-time. This makes webhooks much more efficient for both provider and consumer. 

Webhooks are sometimes referred to as “Reverse APIs,” as they give you what amounts to an API spec, and you must design an API for the webhook to use. The webhook will make an HTTP request to your app (typically a POST), and you will then be charged with interpreting it.

Here you can setup your webhook as below:

Once you click on new webhook, you need to set up a few things such as Title,URL,status,response type, trigger to chat and whether agent is online or offline.

After setting these based on trigger ON START, ON ACCEPT,ON CLOSE, ON MESSAGE the chat information will be pushed to your webhook bases on the event occurred.

The data you receive on the webhook would be on the form of xml or json. For information regarding webhook this please refer our developers section:

Table Of Content