Creates a new sub-status assignment from provided data
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": "96b4198e-64fd-4a9a-8141-39ef443067bf",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "7322b90e-ccbe-44e7-86bf-eb51d513e0b4",
"incident_id": "16d450ad-f661-4087-ae32-6aea0d092c97",
"assigned_at": "2025-12-11T17:12:59.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "7322b90e-ccbe-44e7-86bf-eb51d513e0b4",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Show child attributes
incident_sub_statuses Show child attributes
Note: To change an incident's sub-status, use the PATCH /incidents/:id endpoint and set the sub_status_id attribute. This endpoint is for modifying the timestamp of when an incident's sub-status was assigned.
incident_sub_status created
Show child attributes
Unique ID of the incident_sub_status
incident_sub_statuses Show child attributes
Note: To change an incident's sub-status, use the PATCH /incidents/:id endpoint and set the sub_status_id attribute. This endpoint is for modifying the timestamp of when an incident's sub-status was assigned.
Was this page helpful?
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": "96b4198e-64fd-4a9a-8141-39ef443067bf",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "7322b90e-ccbe-44e7-86bf-eb51d513e0b4",
"incident_id": "16d450ad-f661-4087-ae32-6aea0d092c97",
"assigned_at": "2025-12-11T17:12:59.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "7322b90e-ccbe-44e7-86bf-eb51d513e0b4",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}