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
| Field | Type | Required | Description |
|---|---|---|---|
url | string | ✅ | HTTPS endpoint URL |
eventNames | string[] | ✅ | 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.

