Creates a new Sub-Status from provided data
curl --request POST \
--url https://api.rootly.com/v1/sub_statuses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "sub_statuses",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"parent_status": "started",
"position": 123
}
}
}'
{
"data": {
"id": "6e0558a6-31c8-4605-8346-f66ac774e175",
"type": "sub_statuses",
"attributes": {
"name": "Test",
"description": "This is a description",
"slug": "test",
"parent_status": "started",
"position": 13,
"deleted_at": null,
"updated_at": "2025-07-04T17:26:09.555-07:00",
"created_at": "2025-07-04T17:26:09.555-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
sub_status created
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.rootly.com/v1/sub_statuses \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/vnd.api+json' \
--data '{
"data": {
"type": "sub_statuses",
"attributes": {
"name": "<string>",
"slug": "<string>",
"description": "<string>",
"parent_status": "started",
"position": 123
}
}
}'
{
"data": {
"id": "6e0558a6-31c8-4605-8346-f66ac774e175",
"type": "sub_statuses",
"attributes": {
"name": "Test",
"description": "This is a description",
"slug": "test",
"parent_status": "started",
"position": 13,
"deleted_at": null,
"updated_at": "2025-07-04T17:26:09.555-07:00",
"created_at": "2025-07-04T17:26:09.555-07:00"
}
}
}