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": "570cd518-6b47-4502-a074-964d6a383e75",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "513f6e26-6913-4766-b1a8-28120048cbe5",
"incident_id": "9fb90b5c-daad-40f2-9ca7-ffb73be4b78e",
"assigned_at": "2026-02-03T23:27:01.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "513f6e26-6913-4766-b1a8-28120048cbe5",
"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_status created
Show child attributes
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": "570cd518-6b47-4502-a074-964d6a383e75",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "513f6e26-6913-4766-b1a8-28120048cbe5",
"incident_id": "9fb90b5c-daad-40f2-9ca7-ffb73be4b78e",
"assigned_at": "2026-02-03T23:27:01.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "513f6e26-6913-4766-b1a8-28120048cbe5",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}