> For the complete documentation index, see [llms.txt](https://kvalifika.gitbook.io/kvalifika/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kvalifika.gitbook.io/kvalifika/initial-setup/settings/web-hooks.md).

# Web Hooks

Web hook is a way for a company app to provide Cactusverify with real-time session information. A web hook delivers data to Cactusverify as it happens, meaning the data is received immediately. *Web Hooks* page shows added web hooks and gives the possibility to add new and update/delete the existing ones:

![Settings / Web hooks](/files/-MWPzT1Rt8wndUragULX)

By clicking `CONFIGURE NEW WEBHOOK`, Master User can add a new web hook, after first selecting from the two available types:

* Callback webhook
* Serverless function web hook

![Adding a new web hook](/files/-MWQ0A9MJ9ZZa1bDz4r5)

### Callback webhook

After selecting Callback webhook, it is possible to configure it on the same pop-up window:

![Adding Callback webhook](/files/-MWQ0hnmKDu7xBHf8Cfq)

The following options should be selected:

* Web Hook
  * Post Verification
  * Post Manual Verification
* Method (see [this article](https://www.w3schools.com/tags/ref_httpmethods.asp) for more details)
  * POST
  * PUT
* Callback URL
* Active (ON/OFF)
* ACTIVATE

### Serverless function hook

If Serverless function hook is selected, it is possible to create web hook directly from the Cactusverify platform in the same pop-up window:

![Adding Serverless function hook](/files/-MWQ2-CQ-ia2BYxM-wXg)

Serverless function is written in JavaScript programming language (Python or other languages may be added later). The following information is needed for creating a new serverless function hook:

* Function name
* Web Hook
  * Which session data should be transferred:
    * Verification
    * Manual Verification
* Enabled (ON/OFF)
* Function body
* CREATE

After adding a new web hook, it will be available for further configuration on the landing page of Settings/Configuration/Web Hooks.
