PUT
/
v1
/
incidents
/
{id}
/
resolve
curl --request PUT \
  --url https://api.rootly.com/v1/incidents/{id}/resolve \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incidents",
    "attributes": {
      "resolution_message": "<string>"
    }
  }
}'
{
  "data": {
    "id": "af96c85d-324d-4189-9138-d393d9a12fb9",
    "type": "incidents",
    "attributes": {
      "parent_incident_id": null,
      "sequential_id": 1,
      "title": "Consequatur et corrupti voluptatem.",
      "slug": "consequatur-et-corrupti-voluptatem",
      "kind": "normal",
      "private": false,
      "summary": "Reprehenderit facilis quisquam. Laborum nostrum eius. Laudantium nobis voluptatem.",
      "status": "resolved",
      "source": "web",
      "url": "http://localhost:3001/account/incidents/1-consequatur-et-corrupti-voluptatem",
      "short_url": null,
      "user": {
        "data": {
          "id": "317",
          "type": "users",
          "attributes": {
            "name": "Mario Casper",
            "email": "emmett.daugherty@wehner-turner.test",
            "phone": null,
            "phone_2": null,
            "full_name": "Mario Casper",
            "full_name_with_team": "[Goyette Group] Mario Casper",
            "slack_id": null,
            "time_zone": "UTC",
            "updated_at": "2025-03-20T17:52:08.905-07:00",
            "created_at": "2025-03-20T17:52:08.420-07:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "9958cf6f-6ef2-4a06-99cf-444a2c3135dc",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            }
          }
        }
      },
      "severity": {
        "data": {
          "id": "6344d06c-4222-4861-bde2-64981566abfe",
          "type": "severities",
          "attributes": {
            "name": "9o4cg",
            "slug": "9o4cg",
            "description": "Quas quisquam aliquam qui.",
            "severity": "medium",
            "color": "#E58A1F",
            "position": 1,
            "notify_emails": [],
            "slack_channels": [],
            "slack_aliases": [],
            "created_at": "2025-03-20T17:52:08.866-07:00",
            "updated_at": "2025-03-20T17:52:08.866-07:00"
          }
        }
      },
      "in_triage_by": null,
      "started_by": {
        "data": {
          "id": "317",
          "type": "users",
          "attributes": {
            "name": "Mario Casper",
            "email": "emmett.daugherty@wehner-turner.test",
            "phone": null,
            "phone_2": null,
            "full_name": "Mario Casper",
            "full_name_with_team": "[Goyette Group] Mario Casper",
            "slack_id": null,
            "time_zone": "UTC",
            "updated_at": "2025-03-20T17:52:08.905-07:00",
            "created_at": "2025-03-20T17:52:08.420-07:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "9958cf6f-6ef2-4a06-99cf-444a2c3135dc",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            }
          }
        }
      },
      "mitigated_by": null,
      "resolved_by": {
        "data": {
          "id": "315",
          "type": "users",
          "attributes": {
            "name": "Merlene Hoppe",
            "email": "delbert@douglas-raynor.test",
            "phone": null,
            "phone_2": null,
            "full_name": "Merlene Hoppe",
            "full_name_with_team": "[Goyette Group] Merlene Hoppe",
            "slack_id": null,
            "time_zone": "UTC",
            "updated_at": "2025-03-20T17:52:23.781-07:00",
            "created_at": "2025-03-20T17:52:07.490-07:00"
          },
          "relationships": {
            "email_addresses": {
              "data": [
                {
                  "id": "126f60a4-fa5a-4a90-bc6a-8433e98d9732",
                  "type": "user_email_addresses"
                }
              ]
            },
            "phone_numbers": {
              "data": []
            },
            "devices": {
              "data": []
            }
          }
        }
      },
      "closed_by": null,
      "cancelled_by": null,
      "mitigation_message": null,
      "resolution_message": "Restart database fixed it!",
      "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-03-20T17:52:08.874-07:00",
      "detected_at": null,
      "acknowledged_at": null,
      "mitigated_at": "2025-03-20T17:52:23.958-07:00",
      "resolved_at": "2025-03-20T17:52:23.958-07:00",
      "closed_at": null,
      "cancelled_at": null,
      "created_at": "2025-03-20T17:52:08.874-07:00",
      "updated_at": "2025-03-20T17:52:23.983-07:00",
      "labels": {}
    },
    "relationships": {
      "incident_post_mortem": {
        "data": {
          "id": "fc034759-923b-4122-8334-a1ab5c96ce56",
          "type": "incident_post_mortems"
        }
      },
      "causes": {
        "data": []
      },
      "subscribers": {
        "data": []
      },
      "roles": {
        "data": []
      },
      "environments": {
        "data": []
      },
      "incident_types": {
        "data": []
      },
      "services": {
        "data": []
      },
      "functionalities": {
        "data": []
      },
      "groups": {
        "data": []
      },
      "events": {
        "data": [
          {
            "id": "435e9d1f-2744-4225-8a48-710d99c11307",
            "type": "incident_events"
          },
          {
            "id": "c9c37862-b5e5-44c5-8990-50b4d5084d19",
            "type": "incident_events"
          },
          {
            "id": "8ba26f1e-ac93-4d72-8d70-2cf9359d22a0",
            "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.

Path Parameters

id
string
required

Body

application/vnd.api+json
data
object
required

Response

200
application/vnd.api+json
incident resolved
data
object
required