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": "a9eb9e6d-b4ee-4cca-ae22-9a98541cd3f3",
    "type": "incident_sub_statuses",
    "attributes": {
      "sub_status_id": "6c9f9a57-1982-4c4f-a624-2eb95f341039",
      "incident_id": "91879b5f-c6ee-4ab4-8883-9ee8dbe110c6",
      "assigned_at": "2025-04-18T18:20:31.000-07:00",
      "assigned_by_user_id": null
    },
    "relationships": {
      "sub_status": {
        "data": {
          "id": "6c9f9a57-1982-4c4f-a624-2eb95f341039",
          "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
data
object
required

Response

201
application/vnd.api+json
incident_sub_status created
data
object
required