curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "uuid",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"enabled": true
}
]
}
Get all configured webhooks
curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "uuid",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"enabled": true
}
]
}
curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "uuid",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"enabled": true
}
]
}