POST
/
v1
/
incidents
curl --request POST \
  --url https://api.rootly.com/v1/incidents \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incidents",
    "attributes": {
      "title": "<string>",
      "kind": "normal",
      "parent_incident_id": "<string>",
      "duplicate_incident_id": "<string>",
      "private": false,
      "summary": "<string>",
      "user_id": "<string>",
      "severity_id": "<string>",
      "environment_ids": [
        "<string>"
      ],
      "incident_type_ids": [
        "<string>"
      ],
      "service_ids": [
        "<string>"
      ],
      "functionality_ids": [
        "<string>"
      ],
      "group_ids": [
        "<string>"
      ],
      "cause_ids": [
        "<string>"
      ],
      "labels": {},
      "slack_channel_name": "<string>",
      "notify_emails": [
        "<string>"
      ],
      "status": "in_triage",
      "url": "<string>",
      "scheduled_for": "<string>",
      "scheduled_until": "<string>",
      "in_triage_at": "<string>",
      "started_at": "<string>",
      "detected_at": "<string>",
      "acknowledged_at": "<string>",
      "mitigated_at": "<string>",
      "resolved_at": "<string>",
      "cancelled_at": "<string>"
    }
  }
}'
{
  "data": {
    "id": "750a1b2c-adc1-4997-b927-97f500704505",
    "type": "incidents",
    "attributes": {
      "parent_incident_id": null,
      "sequential_id": 11,
      "title": "Oh no! Something is broken",
      "slug": "oh-no-something-is-broken",
      "kind": "normal",
      "private": false,
      "summary": "this is the description and there are new lines\n\nthis is the next line\n\nthis is the 3rd line",
      "status": "started",
      "source": "api",
      "url": "http://localhost:3001/account/incidents/11-oh-no-something-is-broken",
      "short_url": null,
      "user": {
        "data": {
          "id": "290",
          "type": "users",
          "attributes": {
            "name": "Marshall Durgan",
            "email": "clemmie.kuhic@rogahn-volkman.example",
            "phone": null,
            "phone_2": null,
            "full_name": "Marshall Durgan",
            "full_name_with_team": "[Stoltenberg, Okuneva and Bergnaum] Marshall Durgan",
            "slack_id": null,
            "time_zone": "UTC",
            "updated_at": "2025-05-08T00:22:20.059-07:00",
            "created_at": "2025-05-08T00:22:04.454-07:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "a272fa03-d856-4888-9b20-1f468f64e2e4",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            }
          }
        }
      },
      "severity": {
        "data": {
          "id": "00005259-5e61-496e-8bd1-7cb2641e8ae2",
          "type": "severities",
          "attributes": {
            "name": "h5c02",
            "slug": "h5c02",
            "description": "Incidunt dicta voluptatem soluta.",
            "severity": "medium",
            "color": "#E58A1F",
            "position": 1,
            "notify_emails": [],
            "slack_channels": [],
            "slack_aliases": [],
            "created_at": "2025-05-08T00:22:11.905-07:00",
            "updated_at": "2025-05-08T00:22:11.905-07:00"
          }
        }
      },
      "in_triage_by": null,
      "started_by": {
        "data": {
          "id": "290",
          "type": "users",
          "attributes": {
            "name": "Marshall Durgan",
            "email": "clemmie.kuhic@rogahn-volkman.example",
            "phone": null,
            "phone_2": null,
            "full_name": "Marshall Durgan",
            "full_name_with_team": "[Stoltenberg, Okuneva and Bergnaum] Marshall Durgan",
            "slack_id": null,
            "time_zone": "UTC",
            "updated_at": "2025-05-08T00:22:20.059-07:00",
            "created_at": "2025-05-08T00:22:04.454-07:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "a272fa03-d856-4888-9b20-1f468f64e2e4",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            }
          }
        }
      },
      "mitigated_by": null,
      "resolved_by": null,
      "closed_by": null,
      "cancelled_by": null,
      "mitigation_message": null,
      "resolution_message": null,
      "cancellation_message": null,
      "public_title": null,
      "duplicate_incident_id": null,
      "retrospective_progress_status": "not_started",
      "zoom_meeting_id": null,
      "zoom_meeting_start_url": null,
      "zoom_meeting_join_url": null,
      "zoom_meeting_password": null,
      "zoom_meeting_pstn_password": null,
      "zoom_meeting_h323_password": null,
      "zoom_meeting_global_dial_in_numbers": [],
      "shortcut_story_id": null,
      "shortcut_story_url": null,
      "shortcut_task_id": null,
      "shortcut_task_url": null,
      "asana_task_id": null,
      "asana_task_url": null,
      "github_issue_id": null,
      "github_issue_url": null,
      "gitlab_issue_id": null,
      "gitlab_issue_url": null,
      "jira_issue_key": null,
      "jira_issue_id": null,
      "jira_issue_url": null,
      "google_meeting_id": null,
      "google_meeting_url": null,
      "trello_card_id": null,
      "trello_card_url": null,
      "linear_issue_id": null,
      "linear_issue_url": null,
      "zendesk_ticket_id": null,
      "zendesk_ticket_url": null,
      "motion_task_id": null,
      "motion_task_url": null,
      "clickup_task_id": null,
      "clickup_task_url": null,
      "slack_channel_name": null,
      "slack_channel_id": null,
      "slack_channel_url": null,
      "slack_channel_short_url": null,
      "slack_channel_deep_link": null,
      "slack_channel_archived": false,
      "slack_last_message_ts": null,
      "service_now_incident_id": null,
      "service_now_incident_key": null,
      "service_now_incident_url": null,
      "opsgenie_incident_id": null,
      "opsgenie_incident_url": null,
      "opsgenie_alert_id": null,
      "opsgenie_alert_url": null,
      "victor_ops_incident_id": null,
      "victor_ops_incident_url": null,
      "pagerduty_incident_id": null,
      "pagerduty_incident_number": null,
      "pagerduty_incident_url": null,
      "mattermost_channel_id": null,
      "mattermost_channel_name": null,
      "mattermost_channel_url": null,
      "confluence_page_id": null,
      "confluence_page_url": null,
      "quip_page_id": null,
      "quip_page_url": null,
      "airtable_base_key": null,
      "airtable_table_name": null,
      "airtable_record_id": null,
      "airtable_record_url": null,
      "google_drive_id": null,
      "google_drive_parent_id": null,
      "google_drive_url": null,
      "sharepoint_page_id": null,
      "sharepoint_page_url": null,
      "datadog_notebook_id": null,
      "datadog_notebook_url": null,
      "freshservice_ticket_id": null,
      "freshservice_ticket_url": null,
      "freshservice_task_id": null,
      "freshservice_task_url": null,
      "scheduled_for": null,
      "scheduled_until": null,
      "in_triage_at": null,
      "started_at": "2025-05-08T00:22:20.234-07:00",
      "detected_at": null,
      "acknowledged_at": null,
      "mitigated_at": null,
      "resolved_at": null,
      "closed_at": null,
      "cancelled_at": null,
      "created_at": "2025-05-08T00:22:20.296-07:00",
      "updated_at": "2025-05-08T00:22:20.447-07:00",
      "labels": {
        "platform": "windows",
        "version": "1.12",
        "CaseSensitive": "preserve"
      }
    },
    "relationships": {
      "causes": {
        "data": [
          {
            "id": "d71368b8-7bcc-4a34-903d-0dbc88c55b57",
            "type": "causes"
          },
          {
            "id": "3ec575ca-0b74-449f-b9fa-87ce058708f8",
            "type": "causes"
          }
        ]
      },
      "subscribers": {
        "data": []
      },
      "roles": {
        "data": [
          {
            "id": "ac2ad8c5-9e01-46ef-8753-89f30181cfd9",
            "type": "incident_role_assignments"
          }
        ]
      },
      "environments": {
        "data": [
          {
            "id": "84de2491-ae6a-48c5-a0b5-de85f2d73150",
            "type": "environments"
          },
          {
            "id": "b104117c-2118-40c7-a78d-4ab7435748a4",
            "type": "environments"
          }
        ]
      },
      "incident_types": {
        "data": [
          {
            "id": "85632fc9-c9dd-4566-8615-0f1e8ec8421a",
            "type": "incident_types"
          },
          {
            "id": "d5bed6c9-adfd-40eb-a40a-83357c5add40",
            "type": "incident_types"
          }
        ]
      },
      "services": {
        "data": [
          {
            "id": "c6974ffe-3d23-4cd7-a72d-b8c970eba525",
            "type": "services"
          },
          {
            "id": "95f69e47-5060-40e6-a3da-4d1991de3b47",
            "type": "services"
          }
        ]
      },
      "functionalities": {
        "data": [
          {
            "id": "bb0307f2-0c30-46fa-9374-5238584a1bc7",
            "type": "functionalities"
          },
          {
            "id": "ea5c29fe-2cf2-49df-8215-46511d63e68c",
            "type": "functionalities"
          }
        ]
      },
      "groups": {
        "data": [
          {
            "id": "015299f9-c947-4618-a09e-a13a8463058e",
            "type": "groups"
          },
          {
            "id": "33361404-0817-4bd2-8a0d-126cc9b904c5",
            "type": "groups"
          }
        ]
      },
      "events": {
        "data": [
          {
            "id": "80465bba-0b44-4010-9b0d-01c0b248ab99",
            "type": "incident_events"
          },
          {
            "id": "2f59fe1e-6b62-427f-b395-83fb09dd59a1",
            "type": "incident_events"
          },
          {
            "id": "6ca6dd2a-359d-4189-b605-9193f8d27f5d",
            "type": "incident_events"
          },
          {
            "id": "36e6078e-b545-46a8-b976-b3798e4fe843",
            "type": "incident_events"
          }
        ]
      },
      "action_items": {
        "data": []
      },
      "custom_field_selections": {
        "data": []
      },
      "feedbacks": {
        "data": []
      },
      "attachments": {
        "data": []
      },
      "slack_messages": {
        "data": []
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json

Response

201
application/vnd.api+json
incident created

The response is of type object.