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": "a69cdc8c-5f30-486a-bc72-8841f884ede7",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "ab56bb7b-3b8f-45e0-8712-f36850aa3194",
"incident_id": "97c58085-43ee-4d07-b94d-3ebf6c7f4521",
"assigned_at": "2026-01-09T17:14:19.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "ab56bb7b-3b8f-45e0-8712-f36850aa3194",
"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": "a69cdc8c-5f30-486a-bc72-8841f884ede7",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "ab56bb7b-3b8f-45e0-8712-f36850aa3194",
"incident_id": "97c58085-43ee-4d07-b94d-3ebf6c7f4521",
"assigned_at": "2026-01-09T17:14:19.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "ab56bb7b-3b8f-45e0-8712-f36850aa3194",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}