Skip to main content
POST
/
incidents
/
{id}
/
publish
curl -X POST "https://kodostatus.com/api/v1/incidents/550e8400-e29b-41d4-a716-446655440000/publish" \
  -H "X-API-Key: your_api_key"
{
  "success": true
}
Publishes a draft incident, making it visible on the public status page. This also triggers the incident_published workflow and updates the edge cache.

Path Parameters

id
string
required
The incident ID to publish

Response

success
boolean
Whether the incident was published successfully
curl -X POST "https://kodostatus.com/api/v1/incidents/550e8400-e29b-41d4-a716-446655440000/publish" \
  -H "X-API-Key: your_api_key"
{
  "success": true
}

Errors

StatusErrorDescription
400Incident is already publicThe incident has already been published
404Incident not foundNo incident exists with this ID
Publishing an incident triggers the incident_published workflow and sends notifications to subscribers. This action cannot be undone.