WebhookX is an open-source webhooks gateway for message receiving, processing, and delivering.
- Admin API: The admin API(:8080) provides a RESTful API for webhooks entities management.
- Retries: WebhookX automatically retries unsuccessful deliveries at configurable delays.
- Fan out: Events can be fan out to multiple destinations.
- Declarative configuration: Managing your configuration through declarative configuration file, and be GitOps and DevOps compliant.
- Multi-tenancy: Multi-tenancy is supported with workspaces. Workspaces provide an isolation of configuration entites.
- Plugins:
webhookx-signature
: signing outbound requests with HMAC(SHA-256) by addingWebhookx-Signature
andWebhookx-Timestamp
to request header.transformer
(WIP): transform request before sending outbound requests.
- Observability: Metrics and Tracing(WIP).
- Data retention policy
- Insight admin APIs
- Middlewares/Plugins
- Authentication
- Event Transformer
$ brew tap webhookx-io/webhookx
$ brew install webhookx
- Download the binary distribution on releases.
- Download the binary distribution on releases.
$ curl -O https://raw.githubusercontent.com/webhookx-io/webhookx/main/docker-compose.yml
$ docker compose up
verify running
$ curl http://localhost:8080
$ webhookx admin sync webhookx.sample.yml
$ curl -X POST http://localhost:8081 \
--header 'Content-Type: application/json' \
--data '{
"event_type": "charge.succeeded",
"data": {
"key": "value"
}
}'
Attempt represents an event delivery attempt, and contains inspection information of a delivery.
$ curl http://localhost:8080/workspaces/default/attempts
See response
{
"total": 1,
"data": [
{
"id": "2mYwlR8U5FS6VfK3AHLrYZL75MD",
"event_id": "2mYwlQZgpNSHTuDr9ApNgvL95x3",
"endpoint_id": "2mYwjjwRGCwDhtdTtOrVQYETzVt",
"status": "SUCCESSFUL",
"attempt_number": 1,
"scheduled_at": 1727266967962,
"attempted_at": 1727266968826,
"trigger_mode": "INITIAL",
"exhausted": false,
"error_code": null,
"request": {
"method": "POST",
"url": "https://httpbin.org/anything",
"headers": null,
"body": null
},
"response": {
"status": 200,
"latency": 8573,
"headers": null,
"body": null
},
"created_at": 1727238167962,
"updated_at": 1727238167962
}
]
}
Explore more API at openapi.yml.
The gateway requires the following runtime dependencies to work:
- PostgreSQL(>=13): Lower versions of PostgreSQL may work, but have not been fully tested.
- Redis(>=6.2)
The project is currently under active development, hence breaking changes may be introduced in minor releases.
The public API will strictly follow semantic versioning after v1.0.0
.
We ❤️ pull requests, and we’re continually working hard to make it as easy as possible for developers to contribute.
Thank you for your contribution to WebhookX!
Copyright 2024 WebhookX
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.