On-Call API › Status page publishing
Publish to a status page
Publishes the incident to one of the organization's status pages. From then on status changes, timeline entries and title or severity edits are relayed to the public incident.
impact defaults to the incident's severity. message is the first public
update; it defaults to the incident's summary, or a generic line.
Permission (API-key scope): oncall:incident:write.
Authorization
bearerAuth(oncall:incident:write)apiKeyHeader(oncall:incident:write)
Parameters
Path parameters
idstring requiredThe incident's id.
Request body required
page_idstring requiredThe status page to publish to.impactstringDefaults to the incident's severity.affected_component_idsarray of stringmessagestringThe first public update.
Responses
201
Published.
dataIncidentPublication requiredShow IncidentPublication properties
publishedboolean requiredstatus_page_idstringstatus_incident_idstringThe incident's id on the status page.
successboolean required
400
The body is not JSON (INVALID_BODY), page_id is empty, or impact is not one of none, minor, major, critical (VALIDATION_FAILED).
errorobject requiredcodestring requiredmessagestring requireddetailsarray of object requiredfieldstringmessagestring
401
No API key was sent, or it is unknown, revoked or expired (UNAUTHORIZED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
403
The key lacks the scope this endpoint needs (FORBIDDEN).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
404
No incident with this id in your organization (NOT_FOUND).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
409
The incident is already published (ALREADY_PUBLISHED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
429
Too many requests (RATE_LIMITED). Wait Retry-After seconds.
Retry-AfterintegerSeconds to wait.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
500
Something went wrong on EvoHub's side (INTERNAL_ERROR). Retry later.
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
502
The status page did not accept the incident (STATUS_PUBLISH_FAILED).
errorobject requiredcodestring requiredMachine-readable code. Branch on this.messagestring requiredHuman-readable explanation.
Example request
curl -X POST 'https://evohub.io/api/v1/incidents/2e7f9a1b-3c4d-4e5f-8a9b-0c1d2e3f4a5b/publish' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"impact": "major",
"message": "We are investigating failed card payments.",
"page_id": "page_1f2e3d4c",
"affected_component_ids": [
"comp_payments"
]
}'