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": "c28aafab-71c8-44b9-9a8c-87783522f62d",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "e11ff2c0-d204-4a50-9f27-69163e7693fa",
"incident_id": "a1d0a4fb-fab8-4d0e-9f01-46f84c1b4969",
"assigned_at": "2025-12-24T09:26:37.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "e11ff2c0-d204-4a50-9f27-69163e7693fa",
"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": "c28aafab-71c8-44b9-9a8c-87783522f62d",
"type": "incident_sub_statuses",
"attributes": {
"sub_status_id": "e11ff2c0-d204-4a50-9f27-69163e7693fa",
"incident_id": "a1d0a4fb-fab8-4d0e-9f01-46f84c1b4969",
"assigned_at": "2025-12-24T09:26:37.000-08:00",
"assigned_by_user_id": null
},
"relationships": {
"sub_status": {
"data": {
"id": "e11ff2c0-d204-4a50-9f27-69163e7693fa",
"type": "sub_statuses"
}
},
"assigned_by_user": {
"data": null
}
}
}
}