curl -X PATCH "https://kodostatus.com/api/v1/incidents/550e8400-e29b-41d4-a716-446655440000" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"status": "identified",
"message": "We have identified the root cause"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Database connectivity issues",
"status": "identified",
"severity": "major",
"started_at": "2026-01-15T10:30:00.000Z",
"resolved_at": null,
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-02-20T09:00:00.000Z"
}
Update an incident status or add an update message
curl -X PATCH "https://kodostatus.com/api/v1/incidents/550e8400-e29b-41d4-a716-446655440000" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"status": "identified",
"message": "We have identified the root cause"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Database connectivity issues",
"status": "identified",
"severity": "major",
"started_at": "2026-01-15T10:30:00.000Z",
"resolved_at": null,
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-02-20T09:00:00.000Z"
}
investigating, identified, monitoring, resolvedminor, major, criticalcurl -X PATCH "https://kodostatus.com/api/v1/incidents/550e8400-e29b-41d4-a716-446655440000" \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"status": "identified",
"message": "We have identified the root cause"
}'
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"title": "Database connectivity issues",
"status": "identified",
"severity": "major",
"started_at": "2026-01-15T10:30:00.000Z",
"resolved_at": null,
"created_at": "2026-01-15T10:30:00.000Z",
"updated_at": "2026-02-20T09:00:00.000Z"
}