Create status page incident

Creates a new incident in your status page


POST/api/status-pages/{statusPage}/incidents

Create status page incident

Creates a new incident on a specific status page.

Required attributes

  • Name
    title
    Type
    string
    Description

    A title for your incident.

Optional attributes

  • Name
    description
    Type
    string
    Description

    A description for your incident.

  • Name
    severity
    Type
    string
    Description

    The severity for this incident. Must be one of: normal, high, maintenance, resolved.

Request

POST
/api/status-pages/{statusPage}/incidents
curl -X POST "https://ploi.io/api/status-pages/{statusPage}/incidents" \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "title": "New incident",
    "description": "An error has occured!",
    "severity": "high"
  }'

Response

{
  "data": {
    "id": 3,
    "title": "New incident",
    "description": "An error has occured!",
    "severity": "normal"
  }
}