PATCH
/
v1
/
alerts
/
{id}
curl --request PATCH \
  --url https://api.rootly.com/v1/alerts/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "alerts",
    "attributes": {
      "noise": "noise",
      "source": "rootly",
      "summary": "<string>",
      "description": "<string>",
      "service_ids": [
        "<string>"
      ],
      "group_ids": [
        "<string>"
      ],
      "environment_ids": [
        "<string>"
      ],
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "external_id": "<string>",
      "external_url": "<string>",
      "alert_urgency_id": "<string>",
      "labels": [
        {
          "key": "<string>",
          "value": "<string>"
        }
      ],
      "data": {}
    }
  }
}'
{
  "data": {
    "id": "663bc275-596c-4332-b71a-ea6a19952c4b",
    "type": "alerts",
    "attributes": {
      "short_id": "9clk0z",
      "source": "pagerduty",
      "status": "open",
      "summary": "test update",
      "description": "test update",
      "labels": [
        {
          "key": "foo",
          "value": "bar"
        },
        {
          "key": "bar",
          "value": "baz"
        }
      ],
      "services": [
        {
          "id": "da479838-e88f-4ab4-9e2a-845138d6d4de",
          "team_id": 17,
          "name": "Quod vel cumque est.",
          "slug": "quod-vel-cumque-est",
          "description": "Quibusdam quasi ut animi.",
          "deleted_at": null,
          "created_at": "2025-04-20T05:18:07.525-07:00",
          "updated_at": "2025-04-20T05:18:07.525-07:00",
          "opsgenie_id": null,
          "pagerduty_id": null,
          "public_description": null,
          "github_repository_branch": "master",
          "github_repository_name": null,
          "color": "#F5D9C4",
          "heroku_app_name": null,
          "gitlab_repository_name": null,
          "gitlab_repository_branch": "master",
          "kubernetes_deployment_name": null,
          "incidents_count": 0,
          "position": 1,
          "slack_channels": [],
          "slack_aliases": [],
          "backstage_id": null,
          "show_uptime": true,
          "show_uptime_last_days": 60,
          "status": "operational",
          "external_id": null,
          "notify_emails": [],
          "cortex_id": null,
          "alerts_email_enabled": false,
          "alerts_email_address": "service-453949a10022c2a41533780b3039d730@email.rootly.com",
          "opsgenie_team_id": null,
          "service_now_ci_sys_id": null,
          "alert_urgency_id": null,
          "opslevel_id": null
        }
      ],
      "service_ids": [
        "da479838-e88f-4ab4-9e2a-845138d6d4de"
      ],
      "groups": [
        {
          "id": "1954aeec-40bf-4bcc-82ee-17faaeb157d3",
          "name": "Et quasi temporibus blanditiis.",
          "slug": "et-quasi-temporibus-blanditiis",
          "team_id": 17,
          "deleted_at": null,
          "created_at": "2025-04-20T05:18:07.537-07:00",
          "updated_at": "2025-04-20T05:18:07.537-07:00",
          "description": null,
          "opsgenie_id": null,
          "users_count": 0,
          "incidents_count": 0,
          "pagerduty_id": null,
          "color": "#D7F5E1",
          "victor_ops_id": null,
          "position": 1,
          "slack_channels": [],
          "slack_aliases": [],
          "pagertree_id": null,
          "external_id": null,
          "notify_emails": [],
          "cortex_id": null,
          "alerts_email_enabled": false,
          "alerts_email_address": "group-6089b8c3fbb117d1afc06f3fcd00bdfe@email.rootly.com",
          "backstage_id": null,
          "pagerduty_service_id": null,
          "service_now_ci_sys_id": null,
          "alert_urgency_id": null,
          "opslevel_id": null,
          "admins_count": 0
        }
      ],
      "group_ids": [
        "1954aeec-40bf-4bcc-82ee-17faaeb157d3"
      ],
      "environments": [
        {
          "id": "ee0f6c0e-0a6e-4704-bd3e-0d746bd73bb9",
          "team_id": 17,
          "name": "Velit nulla laudantium a.",
          "slug": "velit-nulla-laudantium-a",
          "description": "Temporibus ut commodi quis.",
          "color": "#160e16",
          "deleted_at": null,
          "created_at": "2025-04-20T05:18:07.552-07:00",
          "updated_at": "2025-04-20T05:18:07.552-07:00",
          "incidents_count": 0,
          "position": 1,
          "slack_channels": [],
          "slack_aliases": [],
          "external_id": null,
          "notify_emails": []
        }
      ],
      "environment_ids": [
        "ee0f6c0e-0a6e-4704-bd3e-0d746bd73bb9"
      ],
      "responders": [],
      "incidents": [
        {
          "id": "ec61e670-a70f-4a4a-86b6-7cef7e9b5fac",
          "user_id": 27,
          "team_id": 17,
          "title": "Id quis ut sit.",
          "slug": "id-quis-ut-sit",
          "summary": "Sequi ipsa unde. Quam neque beatae. Sequi aut facilis.",
          "status": "started",
          "slack_channel_id": null,
          "started_at": "2025-04-20T05:18:02.093-07:00",
          "mitigated_at": null,
          "resolved_at": null,
          "deleted_at": null,
          "created_at": "2025-04-20T05:18:02.093-07:00",
          "updated_at": "2025-04-20T05:18:02.093-07:00",
          "severity_id": "77fa9405-4337-4a56-b405-80d214b8b38a",
          "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": 27,
          "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": [
              "Started date has been set to <span class=\"badge badge-info-inverted\">April 20  5:18 AM PDT</span>",
              "Johnson Will created this incident"
            ],
            "user_avatar_url": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KICAgICAg\nPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8y\nMDAwL3N2ZyIgd2lkdGg9IjIwMCIgaGVpZ2h0PSIyMDAiIHZpZXdCb3g9IjAg\nMCAyMDAgMjAwIj4KICAgICAgICA8bGluZWFyR3JhZGllbnQgaWQ9ImdyYWRp\nZW50XzE3NDUxNTE0ODZfNzczMDMxIiBncmFkaWVudFRyYW5zZm9ybT0icm90\nYXRlKDkwKSI+CiAgICAgICAgICA8c3RvcCBzdG9wLWNvbG9yPSIjZmZlY2Qy\nIiBvZmZzZXQ9IjAlIiAvPgogICAgICAgICAgPHN0b3Agc3RvcC1jb2xvcj0i\nI2ZmZWNkMiIgb2Zmc2V0PSIxMDAlIiAvPgogICAgICAgIDwvbGluZWFyR3Jh\nZGllbnQ+CiAgICAgICAgPHJlY3Qgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAw\nJSIgZmlsbD0idXJsKCNncmFkaWVudF8xNzQ1MTUxNDg2Xzc3MzAzMSkiIC8+\nCiAgICAgICAgPHRleHQgZmlsbD0iI0ZGRiIgZm9udC1mYW1pbHk9Ik9wZW4g\nU2FucyxIZWx2ZXRpY2EsQXJpYWwsc2Fucy1zZXJpZiIgZm9udC1zaXplPSIx\nMDEiIGZvbnQtd2VpZ2h0PSI1MDAiIHg9IjUwJSIgeT0iNTUlIiBkb21pbmFu\ndC1iYXNlbGluZT0ibWlkZGxlIiB0ZXh0LWFuY2hvcj0ibWlkZGxlIj4KICAg\nICAgICAgIEpXCiAgICAgICAgPC90ZXh0PgogICAgICA8L3N2Zz4KICAgIA==\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": "59aaae5e-978c-44cc-b757-7df75480bd18",
          "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,
          "sub_incidents_count": 0,
          "raw_labels": null,
          "tutorial_steps": null
        }
      ],
      "data": {},
      "started_at": "2025-04-20T05:18:05.145-07:00",
      "ended_at": null,
      "external_id": null,
      "external_url": "http://hermiston-hoeger.test/kenton.runolfsdottir",
      "url": "https://test.rootly.com/account/alerts/663bc275-596c-4332-b71a-ea6a19952c4b",
      "notification_target_type": null,
      "notification_target_id": null,
      "alert_urgency_id": "95e0bffe-d1b3-40c0-a6f7-bb1f4a8657f2",
      "notified_users": [],
      "created_at": "2025-04-20T05:18:05.145-07:00",
      "updated_at": "2025-04-20T05:18:12.018-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
alert updated
data
object
required