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": "0c9f7149-aa53-4b5d-acb5-09851035f343",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "dade82a3-87d0-4816-96be-030301ce4aac",
"incident_id": "cd3de744-61b7-4d9c-9bf6-4688f1b36fa6",
"assigned_at": "2025-08-26T19:15:26.000-07:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "dade82a3-87d0-4816-96be-030301ce4aac",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
incident_sub_status created
The response is of type object
.
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": "0c9f7149-aa53-4b5d-acb5-09851035f343",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "dade82a3-87d0-4816-96be-030301ce4aac",
"incident_id": "cd3de744-61b7-4d9c-9bf6-4688f1b36fa6",
"assigned_at": "2025-08-26T19:15:26.000-07:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "dade82a3-87d0-4816-96be-030301ce4aac",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}