Webhooks API
Webhook management for Developer and Business plans.
Credits
| Action | Credits |
|---|---|
| Webhook delivery | 1 per event (charged by delivery worker) |
POST /v1/webhooks | 10 (enhanced API) |
GET / DELETE | 0 |
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /v1/webhooks | List subscriptions |
POST | /v1/webhooks | Create a subscription |
DELETE | /v1/webhooks/{id} | Remove a subscription |
Deliveries are signed with X-Kwery-Signature: sha256=... using your webhook secret.
Create example
curl -X POST "https://kwery-api.com/v1/webhooks" \
-H "X-API-Key: kwery_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your.app/hooks/kaspa",
"kinds": ["utxos_changed", "covenant_execution"],
"addresses": ["kaspa:qq..."]
}'
WebSocket
For streaming instead of HTTP callbacks, use wss://kwery-api.com/v1/ws?api_key=....
See Webhooks guide for event kinds and setup.