# Webhook

Webhook is a self-hosted automation app. A lightweight configurable tool that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/763/webhook

## Description

A lightweight configurable tool that allows you to easily create HTTP endpoints (hooks) on your server, which you can use to execute configured commands. You can also pass data from the HTTP request (such as headers, payload or query variables) to your commands. webhook also allows you to specify rules which have to be satisfied in order for the hook to be triggered.

## Platform availability

Available on 1 of 9 platforms: Unraid.

## Health score

68/100 (Good), based on 4 of 5 factors.
- Maintained: 73 (last commit 48 days ago)
- Popular: 82 (12,174 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 74 (no serious findings, CI, tests, OpenSSF Scorecard 3.6/10)

## Links

- GitHub: https://github.com/adnanh/webhook
- Docker Hub: https://hub.docker.com/r/almir/webhook
- Unraid: https://ca.unraid.net/apps/webhook-0gdenzd0bg49n1?q=Webhook

## Common questions

### Which file format can I use to define Webhook hooks?

You can use JSON or YAML configuration files. A hooks.json file contains an array of the hooks Webhook serves.

### How do I pass request data to the command that Webhook runs?

Webhook parses headers, payload, and query variables and can pass the specified arguments to the command via command line arguments or environment variables.

### How can I require conditions before a hook triggers?

You can specify rules in the configuration, and the hook runs only when those rules are satisfied.

### Can I install Webhook without building from source?

Yes, prebuilt binaries are available for different architectures. You can also install it from Snap or package managers for Ubuntu, Debian, and FreeBSD.

---
Source: Our Local Host (https://ourlocalhost.com/app/763/webhook), the self-hosted and open-source app directory.
