POST
/
v1
/
incidents
/
{incident_id}
/
alerts
curl --request POST \
  --url https://api.rootly.com/v1/incidents/%7Bincident_id%7D/alerts \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN' \
  --header 'content-type: application/vnd.api+json'
{
  "data": [
    {
      "id": "01d7c1e1-c469-4d1d-937f-d56ba1e94bfa",
      "type": "alerts",
      "attributes": {
        "short_id": "7enm2c",
        "source": "pagerduty",
        "status": "open",
        "summary": "Illum nihil ut sit.",
        "description": "Illum nihil at. Illo voluptatibus libero. Consequatur culpa similique.",
        "labels": [],
        "services": [],
        "groups": [],
        "environments": [],
        "responders": [],
        "incidents": [
          {
            "id": "6af143a9-9041-49be-9647-bf98c4a811cc",
            "user_id": 23,
            "team_id": 15,
            "title": "Ducimus aliquid quisquam minus.",
            "slug": "ducimus-aliquid-quisquam-minus",
            "summary": "Iste repellat ut. Non dolorem aut. Corporis libero facilis.",
            "status": "started",
            "slack_channel_id": null,
            "started_at": "2025-03-13T11:58:50.472-07:00",
            "mitigated_at": null,
            "resolved_at": null,
            "deleted_at": null,
            "created_at": "2025-03-13T11:58:50.472-07:00",
            "updated_at": "2025-03-13T11:58:50.472-07:00",
            "severity_id": "dc2fa828-b6f1-402d-9015-eaa8a007c86b",
            "public_title": null,
            "zoom_meeting_id": null,
            "zoom_meeting_start_url": null,
            "zoom_meeting_join_url": null,
            "shortcut_story_id": null,
            "shortcut_story_url": null,
            "asana_task_id": null,
            "asana_task_url": null,
            "jira_issue_id": null,
            "jira_issue_url": null,
            "email_message_id": 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,
            "slack_channel_name": null,
            "service_now_incident_id": null,
            "service_now_incident_url": null,
            "opsgenie_incident_id": null,
            "opsgenie_incident_url": null,
            "opsgenie_incident_responder_ids": [],
            "labels": {},
            "incidents_action_items_count": 0,
            "incidents_tasks_count": 0,
            "mitigation_message": null,
            "resolution_message": null,
            "pagerduty_incident_responder_ids": {},
            "victor_ops_incident_id": null,
            "victor_ops_incident_url": null,
            "victor_ops_incident_responder_ids": {},
            "pagerduty_incident_id": null,
            "pagerduty_incident_url": null,
            "status_pages_count": 0,
            "mattermost_channel_id": null,
            "slack_summary_timestamp": null,
            "mattermost_channel_name": null,
            "mattermost_channel_url": null,
            "slack_channel_url": null,
            "mattermost_summary_timestamp": null,
            "confluence_page_id": null,
            "confluence_page_url": null,
            "kind": "normal",
            "scheduled_for": null,
            "scheduled_until": null,
            "scheduled_remind_prior": false,
            "scheduled_auto_in_progress": true,
            "scheduled_auto_completed": true,
            "detected_at": null,
            "acknowledged_at": null,
            "private": false,
            "airtable_record_id": null,
            "airtable_record_url": null,
            "google_drive_id": null,
            "google_drive_url": null,
            "summary_updated_at": null,
            "sequential_id": 1,
            "slack_channels": [],
            "airtable_base_key": null,
            "airtable_table_name": null,
            "shortcut_task_id": null,
            "shortcut_task_url": null,
            "title_autogenerated": false,
            "view_source": null,
            "source": "web",
            "microsoft_teams_meeting_url": null,
            "microsoft_teams_meeting_id": null,
            "dropbox_paper_id": null,
            "dropbox_paper_url": null,
            "subscribers_count": 0,
            "status_page_io": {},
            "webex_meeting_id": null,
            "webex_meeting_url": null,
            "github_issue_id": null,
            "github_issue_url": null,
            "cancelled_at": null,
            "cancellation_message": null,
            "notion_page_id": null,
            "notion_page_url": null,
            "datadog_notebook_id": null,
            "datadog_notebook_url": null,
            "notify_channels": {},
            "freshservice_ticket_id": null,
            "freshservice_ticket_url": null,
            "freshservice_task_id": null,
            "freshservice_task_url": null,
            "started_by_user_id": 23,
            "mitigated_by_user_id": null,
            "resolved_by_user_id": null,
            "cancelled_by_user_id": null,
            "slack_aliases": [],
            "slack_channel_workspace_id": null,
            "google_calendar_event_url": null,
            "google_calendar_event_id": null,
            "short_url": null,
            "slack_channel_short_url": null,
            "go_to_meeting_id": null,
            "go_to_meeting_url": null,
            "jira_issue_key": null,
            "linear_issue_key": null,
            "opsgenie_alert_id": null,
            "opsgenie_alert_url": null,
            "triggered_from_slack_channel_id": null,
            "service_now_incident_key": null,
            "quip_page_id": null,
            "quip_page_url": null,
            "pagertree_alert_id": null,
            "pagertree_alert_url": null,
            "duplicate_incident_id": null,
            "parent_incident_id": null,
            "ability_cache": null,
            "previous_attributes": {
              "incident_events": [
                "Alerts has been attached: <a class=\"badge badge-warning \" target=\"_blank\" data-toggle=\"tooltip\" data-placement=\"top\" data-title=\"[Pagerduty] Illum Nihil Ut Sit.\" href=\"http://macejkovic-king.test/maximo\">[Pagerduty] Illum Nihil Ut Sit.</a><a class=\"badge badge-warning \" target=\"_blank\" data-toggle=\"tooltip\" data-placement=\"top\" data-title=\"[Pagerduty] Cumque Nobis Facilis Aut.\" href=\"http://weber.example/rolando\">[Pagerduty] Cumque Nobis Facilis Aut.</a><a class=\"badge badge-warning \" target=\"_blank\" data-toggle=\"tooltip\" data-placement=\"top\" data-title=\"[Pagerduty] Quas Et Exercitationem Dolore.\" href=\"http://kunde.test/ileana\">[Pagerduty] Quas Et Exercitationem Dolore.</a>",
                "Started date has been set to <span class=\"badge badge-info-inverted\">March 13 11:58 AM PDT</span>",
                "Travis Price created this incident"
              ],
              "user_avatar_url": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KICAgICAg\nPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8y\nMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAg\nMCAyMDAgMjAwIj4KICAgICAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImdyYWRp\nZW50XzE3NDE4OTIzMzZfOTU5MTIyIiBncmFkaWVudFRyYW5zZm9ybT0icm90\nYXRlKDkwKSI+CiAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjZmRjYmYx\nIiBvZmZzZXQ9IjAlIiAvPgogICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0i\nI2ZkY2JmMSIgb2Zmc2V0PSIxMDAlIiAvPgogICAgICAgIDwvbGluZWFyR3Jh\nZGllbnQ+CiAgICAgICAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAw\nJSIgZmlsbD0idXJsKCNncmFkaWVudF8xNzQxODkyMzM2Xzk1OTEyMikiIC8+\nCiAgICAgICAgPHRleHQgZmlsbD0iIzQ0NCIgZm9udC1mYW1pbHk9Ik9wZW4g\nU2FucyxIZWx2ZXRpY2EsQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIx\nMDEiIGZvbnQtd2VpZ2h0PSI1MDAiIHg9IjUwJSIgeT0iNTUlIiBkb21pbmFu\ndC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj4KICAg\nICAgICAgIFRQCiAgICAgICAgPC90ZXh0PgogICAgICA8L3N2Zz4KICAgIA==\n"
            },
            "genius_workflow_runs_count": 0,
            "slack_channel_archived": false,
            "google_drive_parent_id": null,
            "in_triage_at": null,
            "in_triage_by_user_id": null,
            "external_id": null,
            "slack_channel_deep_link": null,
            "retrospective_progress_status": "not_started",
            "users_assigned_count": 0,
            "retrospective_completed_at": null,
            "retrospective_started_at": null,
            "pagerduty_incident_number": null,
            "current_tutorial_step": "not_started",
            "clickup_task_id": null,
            "clickup_task_url": null,
            "slack_notify_ready_for_retrospective_timestamp": null,
            "notify_emails": [],
            "status_page_io_components": [],
            "retrospective_auto_skipped": false,
            "retrospective_mandatory": false,
            "embedding": null,
            "zoom_meeting_transcript": {},
            "google_meeting_transcript": {},
            "webex_meeting_transcript": {},
            "microsoft_teams_meeting_transcript": {},
            "zoom_meeting_bot_id": null,
            "google_meeting_bot_id": null,
            "webex_meeting_bot_id": null,
            "microsoft_teams_meeting_bot_id": null,
            "zoom_meeting_transcript_summary": null,
            "google_meeting_transcript_summary": null,
            "webex_meeting_transcript_summary": null,
            "microsoft_teams_meeting_transcript_summary": null,
            "gitlab_issue_id": null,
            "gitlab_issue_url": null,
            "sharepoint_page_id": null,
            "sharepoint_page_url": null,
            "outlook_event_id": null,
            "outlook_event_url": null,
            "created_from_slack_identifier": null,
            "zoom_meeting_pstn_password": null,
            "zoom_meeting_h323_password": null,
            "zoom_meeting_global_dial_in_numbers": [],
            "left_slack_channel_slack_user_ids": [],
            "using_redesigned_slack_announcement": true,
            "using_redesigned_slack_updates": true,
            "motion_task_id": null,
            "motion_task_url": null,
            "sub_status_id": "e7d5b9e3-9667-4b3b-a33b-5484cbe1fe69",
            "closed_at": null,
            "closed_by_user_id": null,
            "microsoft_teams_channel_id": null,
            "microsoft_teams_channel_name": null,
            "microsoft_teams_channel_url": null,
            "triggered_from_microsoft_teams_channel_id": null,
            "microsoft_teams_team_id": null,
            "microsoft_teams_summary_message_id": null,
            "microsoft_teams_channel_service_url": null,
            "slack_last_message_ts": null,
            "zoom_meeting_password": null,
            "microsoft_teams_team_internal_id": null,
            "triggered_from_slack_message_ts": null,
            "triggered_from_slack_thread_ts": null,
            "raw_labels": null,
            "tutorial_steps": null
          }
        ],
        "data": {},
        "started_at": "2025-03-13T11:58:53.483-07:00",
        "ended_at": null,
        "external_id": null,
        "external_url": "http://macejkovic-king.test/maximo",
        "url": "https://test.rootly.com/account/alerts/01d7c1e1-c469-4d1d-937f-d56ba1e94bfa",
        "notification_target_type": null,
        "notification_target_id": null,
        "alert_urgency_id": "baa63ce4-f1d3-4c20-8ded-cb4f71f45dbe",
        "notified_users": [],
        "created_at": "2025-03-13T11:58:53.483-07:00",
        "updated_at": "2025-03-13T11:58:53.483-07:00"
      }
    }
  ],
  "links": {
    "self": "http://www.example.com/v1/incidents/6af143a9-9041-49be-9647-bf98c4a811cc/alerts?page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "first": "http://www.example.com/v1/incidents/6af143a9-9041-49be-9647-bf98c4a811cc/alerts?page%5Bnumber%5D=1&page%5Bsize%5D=10",
    "prev": null,
    "next": null,
    "last": "http://www.example.com/v1/incidents/6af143a9-9041-49be-9647-bf98c4a811cc/alerts?page%5Bnumber%5D=1&page%5Bsize%5D=10"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

incident_id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
alert created
data
object[]
required

Was this page helpful?