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"
}
]
}
Webhooks
List Webhooks
Get all configured webhooks
GET
/
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"
}
]
}
Response
Show webhook object
Show webhook object
Webhook ID
Webhook name
Endpoint URL
Subscribed events
Whether webhook is active
Custom headers included with webhook requests
Signing secret for HMAC verification
ISO 8601 timestamp
ISO 8601 timestamp
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"
}
]
}
⌘I