# Webhooks

You can subscribe to system events to make HTTP requests and trigger callbacks in your own application.

## Adding Webhooks

1. Navigate to the 'Settings' Page and select the tab *'*&#x57;ebhooks'
2. Click the 'Create New Webhook'-Button
3. You will be redirected to a new page to configure your Webhook

## Configuration

### Name

The `name` field only purpose is to identify it in the list view.

### Url

The `URL` to deliver requests to.

### Headers

You can add custom headers by defining a `key` and a `value`*.* There is no limit for the number of headers.

### Hooks

| **Source**       | **Create** | **Save** | **Delete** | **Publish** | **Unpublish** | **Archive** | **Unarchive** |
| ---------------- | ---------- | -------- | ---------- | ----------- | ------------- | ----------- | ------------- |
| **Document**     | ✔️         | ✔️       | ✔️         | ✔️          | ✔️            | ✔️          | ✔️            |
| **Asset**        | ✔️         | ✔️       | ✔️         | ✔️          | ✔️            | ✖️          | ✖️            |
| **Content Type** | ✔️         | ✔️       | ✔️         | ✖️          | ✖️            | ✖️          | ✖️            |
| **Collection**   | ✔️         | ✔️       | ✔️         | ✖️          | ✖️            | ✖️          | ✖️            |

## Deleting Webhooks

1. Navigate to the 'Settings' Page and select the tab *'*&#x57;ebhooks'.
2. Use the 'Pencil'-Button in a Webhook row to switch to the edit view.
3. Click the 'Delete Webhook'-Button and confirm.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.comfortable.io/concepts-1/webhooks.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
