POST
/
v1
/
sub_statuses
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": "3f445ffd-c3cb-4b6d-8d40-03f053de53b8",
    "type": "sub_statuses",
    "attributes": {
      "name": "Test",
      "description": "This is a description",
      "slug": "test",
      "parent_status": "started",
      "position": 13,
      "deleted_at": null,
      "updated_at": "2025-06-19T02:44:26.003-07:00",
      "created_at": "2025-06-19T02:44:26.003-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/vnd.api+json

Response

201
application/vnd.api+json

sub_status created

The response is of type object.