Docs menuCreate Webhook Endpoint

API reference

Create Webhook Endpoint

POST /webhooks/endpoints · Monitors

View .md

POSThttps://api.clawifi.dev/webhooks/endpoints

Request#

curl -X POST https://api.clawifi.dev/webhooks/endpoints \
  -H "Authorization: Bearer $CLAWIFI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://your-app.example/hooks/clawifi","secret":"a-long-random-secret","event_types":["monitor.change.detected"]}'

Body

FieldTypeDefaultRequired
enabledbooleantrueno
event_typesarray of stringno
secretstringyes
urlstringyes

Response#

200 with a WebhookEndpointResponse object: created_at, enabled, event_types, id, url.

Errors use the shared shape; see Errors. Try public operations without a key in the playground.

Was this page helpful? Tell us · Last updated 2026-10-22