POST
/
v1
/
incidents
/
{incident_id}
/
sub_statuses
Creates a sub-status assignment
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": "40086c7f-d902-468d-817f-653aca342bbf",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "81406ece-65b1-4172-a34e-e3099251707b",
      "incident_id": "d64c36fc-4c31-4cad-81ec-f273c6777068",
      "assigned_at": "2025-07-14T14:48:03.000-07:00",
      "assigned_by_user_id": null
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "81406ece-65b1-4172-a34e-e3099251707b",
          "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.