POST
/
v1
/
incidents
/
{incident_id}
/
sub_statuses
curl --request POST \
  --url https://api.rootly.com/v1/incidents/{incident_id}/sub_statuses \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/vnd.api+json' \
  --data '{
  "data": {
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "<string>",
      "assigned_at": "<string>",
      "assigned_by_user_id": 123
    }
  }
}'
{
  "data": {
    "id": "1f9e5521-6f50-43ac-a47c-a298fa615920",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "c46d2641-46da-4e83-9473-a6d5d9ee5f02",
      "incident_id": "f09e9a21-b608-4803-9762-1da016b7ed6f",
      "assigned_at": "2025-05-08T00:21:54.000-07:00",
      "assigned_by_user_id": null
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "c46d2641-46da-4e83-9473-a6d5d9ee5f02",
          "type": "sub_statuses"
        }
      },
      "assigned_by_user": {
        "data": null
      }
    }
  }
}

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

Response

201
application/vnd.api+json
incident_sub_status created

The response is of type object.