Dashboard webhook management is coming soon. Use the SDK or cURL.
# Register
curl -X POST https://api.prudra.dev/webhooks \
-H "Authorization: Bearer prv_test_sk_..." \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhooks/prudra",
"events": ["payment.received", "vault.sealed", "deposit.success"]
}'
Response:{
"id": "wh_clx1abc123",
"url": "https://your-server.com/webhooks/prudra",
"events": ["payment.received", "vault.sealed", "deposit.success"],
"secret": "whsec_clx1abc123...",
"createdAt": "2026-04-30T09:00:00.000Z"
}
The secret field is only returned on registration. Copy and store it securely — it is never shown again.
# List webhooks
curl https://api.prudra.dev/webhooks \
-H "Authorization: Bearer prv_test_sk_..."
# Delete
curl -X DELETE https://api.prudra.dev/webhooks/wh_clx1abc123 \
-H "Authorization: Bearer prv_test_sk_..."