curl -X POST "https://kodostatus.com/api/v1/services" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational",
"display_order": 0,
"created_at": "2026-02-20T08:00:00.000Z",
"updated_at": "2026-02-20T08:00:00.000Z"
}
Create a new service/component
curl -X POST "https://kodostatus.com/api/v1/services" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational",
"display_order": 0,
"created_at": "2026-02-20T08:00:00.000Z",
"updated_at": "2026-02-20T08:00:00.000Z"
}
operational, degraded, partial_outage, major_outage, maintenancecurl -X POST "https://kodostatus.com/api/v1/services" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Payment Gateway",
"description": "Handles all payment processing",
"status": "operational",
"display_order": 0,
"created_at": "2026-02-20T08:00:00.000Z",
"updated_at": "2026-02-20T08:00:00.000Z"
}