Skip to main content
Webhook API

The Webhook API That Just Works in 30 Minutes

One POST from your backend. Hook0 does the HMAC, the retries, the delivery logs and the replay. Official SDKs in 11 languages. Open-source, free tier, no credit card.

100 events/day free. No credit card. Open-source.

Trusted by teams at

Eudonet GEODIS WoodWing Optery Alteos ActiveAnts Apizee

The Short Answer

Hook0's webhook API is one REST endpoint. You POST your event to /api/v1/event with a bearer token, and Hook0 takes care of delivery. It signs each request with HMAC-SHA256, retries failed endpoints in two phases (fast retries for short blips, slow retries over days for real outages), records every attempt in the delivery logs, and keeps the last failed attempt with its response so you can replay the event. Pass your own event_id and Hook0 deduplicates on it, so a retried call never fires twice downstream. Official SDKs cover 11 languages, from Python and TypeScript to Go and Java. The server is open-source under SSPL-1.0, with a free tier of 100 events a day and no credit card.

Code

Send your first event in 30 seconds

One endpoint, one payload. No SDK required, no webhook concepts to learn first.

POST https://api.hook0.com/api/v1/event
Authorization: Bearer <APPLICATION_AUTH_TOKEN>
Content-Type: application/json

{
  "application_id": "c0ea6ffa-1972-4435-b434-ec9e93d38f42",
  "event_type":     "invoice.paid",
  "event_id":       "evt_Wqb1k73rXprtTm7Qdlr38G",
  "payload": {
    "invoice_id": "in_8X9aBcDeFgHiJk",
    "status":     "paid",
    "amount_eur": 4990
  },
  "labels": { "tenant": "acme", "env": "prod" }
}

Python

hook0 = Hook0("AUTH_TOKEN")
hook0.message.create(
  "app_id",
  MessageIn(
    event_type="invoice.paid",
    event_id="evt_123",
    payload={"status": "paid"}
  )
)

Node.js

const hook0 = Hook0("AUTH_TOKEN");
await hook0.message.create("app_id", {
  event_type: "invoice.paid",
  event_id:   "evt_123",
  payload:    { status: "paid" }
});
Inside the API

What the webhook API does for you

HMAC-SHA256 signing

Payloads carry a signature and a timestamp. Subscribers verify both. Replay attacks fail the timestamp check.

Two-phase retries

Fast retries within the first few minutes for flaky endpoints. Slow retries over hours and days for real outages. When the budget runs out, the last attempt stays failed with its response, ready to replay.

Idempotent event IDs

Pass your own event_id. Hook0 deduplicates on it, so the API call is safe to retry without firing twice downstream.

Delivery logs and replay

Headers, body, response code, latency. Stored per attempt. Replay any event by ID, from the dashboard or the API.

Open-source SDKs

JavaScript/TypeScript, Python, Go, Rust, Java, Kotlin, C#, PHP, Ruby, Lua and Zig. Generated from the OpenAPI spec, so the client and the API stay in sync.

Free tier, no gates

100 events per day, no credit card. Paid plans scale volume. Every feature on this page is in the free tier.

FAQ

Webhook API questions

What is the Hook0 webhook API?

The Hook0 webhook API is a REST interface that lets your backend trigger an event with a single HTTP call. Hook0 then signs the payload with HMAC, delivers it to every matching subscriber, retries on failure with a configurable two-phase backoff, and logs every attempt. Official SDKs cover 11 languages.

How do I authenticate with the webhook API?

Authentication uses a Bearer token (application authentication token) passed in the Authorization header. Tokens are scoped to an application and can be rotated from the dashboard at any time.

Does the webhook API include retries and HMAC signatures?

Yes. Every event triggered via the webhook API is automatically signed with HMAC (so subscribers can verify it) and retried using a two-phase backoff strategy on delivery failure. When an event exhausts its retry budget, the last attempt stays failed with the endpoint's response, and one API call replays it.

What SDKs are available for the Hook0 webhook API?

Hook0 maintains 11 official SDKs: JavaScript/TypeScript, Python, Go, Rust, Java, Kotlin, C#, PHP, Ruby, Lua and Zig. Each installs from its language's package registry (Zig from a tagged archive), sends events and verifies webhook signatures. The REST API is fully documented in the API reference, so any HTTP client works too.

Is the webhook API rate-limited?

Yes. Rate limits scale with the plan: the free tier allows 100 events per day, paid tiers raise both the daily volume and the burst rate. Self-hosted deployments are not rate-limited by Hook0.

You have better things to build

Stop building webhook infrastructure. Start shipping features. Get started in minutes.

No credit card required
Setup in 5 minutes
Cancel anytime