Create incident
statusio_create_incidentDestructive
WRITE: open a new incident on the PUBLIC status page. It is visible to every visitor immediately and sets the status of the affected components. No subscriber, Slack, Teams, IRC or Twitter notification is sent unless you switch it on (notify_*). Returns the new incident id. Say what is affected with all_infrastructure_affected or infrastructure_affected pairs. POST /incident/create.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Short incident title. | |
| state | No | Incident state (default investigating). | |
| status | Yes | Status the affected components get. | |
| details | Yes | Message describing the incident. | |
| notify_irc | No | Also post to your connected IRC channel (default false). | |
| notify_sms | No | Also text your SMS subscribers (default false). | |
| notify_email | No | Also email your email subscribers (default false). | |
| notify_slack | No | Also post to your connected Slack channels (default false). | |
| statuspage_id | No | Status page id. Defaults to the status page chosen when you connected. | |
| notify_msteams | No | Also post to your connected Microsoft Teams channels (default false). | |
| notify_webhook | No | Also call your webhook subscribers (default false). | |
| message_subject | No | Subject line for the email notification. | |
| post_to_twitter | No | Also post to your connected Twitter/X account (default false). | |
| infrastructure_affected | No | Affected pairs, each '<component_id>-<container_id>' (ids from statusio_list_components). | |
| all_infrastructure_affected | No | true = every component and container is affected. Otherwise give infrastructure_affected. |