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": "d25cd4fe-edab-4dff-81a8-a3dc4ccb2220",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "c76a4f7f-2833-49a8-8a99-7f92697090e9",
"incident_id": "0664dee7-5ea0-48c6-b71a-2243352b9ebf",
"assigned_at": "2026-02-02T20:40:30.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "c76a4f7f-2833-49a8-8a99-7f92697090e9",
"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": "d25cd4fe-edab-4dff-81a8-a3dc4ccb2220",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "c76a4f7f-2833-49a8-8a99-7f92697090e9",
"incident_id": "0664dee7-5ea0-48c6-b71a-2243352b9ebf",
"assigned_at": "2026-02-02T20:40:30.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "c76a4f7f-2833-49a8-8a99-7f92697090e9",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}