curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"is_active": true,
"headers": {},
"secret": "whsec_...",
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-01-15T10:30:00.000Z"
}
]
}
Get all configured webhooks
curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"is_active": true,
"headers": {},
"secret": "whsec_...",
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-01-15T10:30:00.000Z"
}
]
}
Show webhook object
curl "https://kodostatus.com/api/v1/webhooks" \
-H "X-API-Key: your_api_key"
{
"webhooks": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Incident Webhook",
"url": "https://example.com/webhook",
"events": ["incident.created", "incident.resolved"],
"is_active": true,
"headers": {},
"secret": "whsec_...",
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-01-15T10:30:00.000Z"
}
]
}