API reference

Webhooks API

Guide with signature verification code: Webhooks.

EndpointPurpose
GET /api/v1/webhooksList subscriptions
POST /api/v1/webhooksCreate — returns whsec_ secret once
GET /api/v1/webhooks/{id}Get one (incl. last_status, last_delivery_at)
DELETE /api/v1/webhooks/{id}Delete
POST /api/v1/webhooks/{id}/secretRe-reveal the signing secret
POST /api/v1/webhooks/{id}/pingFire a webhook.ping test event

POST /api/v1/webhooks

Body: url (HTTPS only; private and internal addresses rejected), events (array of event types or ["*"]), description.

Delivery contract

Headers X-Klaw-Signature (sha256= HMAC of the raw body), X-Klaw-Event, X-Klaw-Delivery. 4-second timeout per attempt; delivery status is recorded on the subscription. Verify with a timing-safe HMAC comparison.