Kaiten
Webhooks

Managing Endpoints

Create, update, and delete webhook endpoints.

Managing Webhook Endpoints

Create an Endpoint

curl -X POST http://localhost:6000/api/webhooks \
  -H "Authorization: Bearer ksh_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://your-app.example.com/webhook",
    "eventNames": ["CUSTOMER_CREATION", "INSTANCE_CREATION"]
  }'

Parameters

FieldTypeRequiredDescription
urlstringHTTPS endpoint URL
eventNamesstring[]Events to subscribe to

List Endpoints

curl http://localhost:6000/api/webhooks \
  -H "Authorization: Bearer ksh_xxx"

Update an Endpoint

curl -X PUT http://localhost:6000/api/webhooks/{id} \
  -H "Authorization: Bearer ksh_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://new-url.example.com/webhook",
    "eventNames": ["CUSTOMER_CREATION"]
  }'

Delete an Endpoint

curl -X DELETE http://localhost:6000/api/webhooks/{id} \
  -H "Authorization: Bearer ksh_xxx"

Dashboard

All operations are also available in the dashboard at Integrations → Webhooks.

On this page