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": "6d3537e6-bc0a-4a3e-9b02-63dc75f403fe",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "f2648a41-9eb5-444e-adce-ed3a4ede7614",
"incident_id": "ccbd4b64-6108-4ef1-8f9f-8d42388e8afe",
"assigned_at": "2026-02-13T18:08:20.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "f2648a41-9eb5-444e-adce-ed3a4ede7614",
"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": "6d3537e6-bc0a-4a3e-9b02-63dc75f403fe",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "f2648a41-9eb5-444e-adce-ed3a4ede7614",
"incident_id": "ccbd4b64-6108-4ef1-8f9f-8d42388e8afe",
"assigned_at": "2026-02-13T18:08:20.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "f2648a41-9eb5-444e-adce-ed3a4ede7614",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}