---
updatedAt: 2026-08-06T21:05:39.000Z
agentTools:
  projectIndex: https://snipe-it.readme.io/llms.txt
---

# /statuslabels

Create a new status label

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "snipe-it-rest-api",
    "version": "8.2.0"
  },
  "servers": [
    {
      "url": "https://develop.snipeitapp.com/api/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/statuslabels": {
      "post": {
        "summary": "/statuslabels",
        "description": "Create a new status label",
        "operationId": "statuslabels-1",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "type"
                ],
                "properties": {
                  "name": {
                    "type": "string"
                  },
                  "type": {
                    "type": "string",
                    "default": "deployable",
                    "enum": [
                      "deployable",
                      "pending",
                      "archived",
                      "undeployable"
                    ]
                  },
                  "notes": {
                    "type": "string"
                  },
                  "color": {
                    "type": "string",
                    "description": "Hex code showing what color the status label should be on the pie chart in the dashboard"
                  },
                  "show_in_nav": {
                    "type": "boolean",
                    "description": "1 or 0 - determine whether the status label should show in the left-side nav of the web GUI",
                    "default": false
                  },
                  "default_label": {
                    "type": "boolean",
                    "description": "1 or 0 - determine whether it should be bubbled up to the top of the list of available statuses",
                    "default": false
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"status\": \"success\",\n    \"messages\": \"Status Label created successfully.\",\n    \"payload\": {\n        \"name\": \"Test Status Label\",\n        \"deployable\": 1,\n        \"pending\": 0,\n        \"archived\": 0,\n        \"updated_at\": \"2017-11-22 10:37:07\",\n        \"created_at\": \"2017-11-22 10:37:07\",\n        \"id\": 8\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "example": "success"
                    },
                    "messages": {
                      "type": "string",
                      "example": "Status Label created successfully."
                    },
                    "payload": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "example": "Test Status Label"
                        },
                        "deployable": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "pending": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "archived": {
                          "type": "integer",
                          "example": 0,
                          "default": 0
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2017-11-22 10:37:07"
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2017-11-22 10:37:07"
                        },
                        "id": {
                          "type": "integer",
                          "example": 8,
                          "default": 0
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Authorization",
        "value": "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIyIiwianRpIjoiN2I1OTg3ZGVlYzI0ZmUxNzZmM2M4Y2VmZmFkOWZhZTMwOGY5YTc5MWU5OTI1MjljMWRmMDFmMTFjYThjMWRmZWE5YTlhODdhMDcxOTA2Y2IiLCJpYXQiOjE3ODY2NjIwMzYuMzExNjY1LCJuYmYiOjE3ODY2NjIwMzYuMzExNjcsImV4cCI6MjQxNzgxNDAzNi4yOTc4MDcsInN1YiI6IjEiLCJzY29wZXMiOltdfQ.bsToXzAmDU_c0WfA36bjgIfP9reBXaDrV3vEz78fJ6mdvnGBBPfqRFD3nb2NL6Zr2X3EavWoFA2-Adn3L-0Ds7OFBfU9jdyu5vlaA-f6BHVBuJlGu2NO0SuYmlRG-2DqMQL8MHjM2NQ4k1HX5UV8ox9fzxXAe9nD7wmV0mgWtWAyq29XfiBZQcYWLKjam0LnvHbFnL29ikVazCK6_Kl9_7d0gkX32QdgbtgIFDmrngSHnAeO2wTvUvf-rz8HsV0cv_9SALuLPNSUXiKjC2amSsgzU05a0xFmMYu3mSmfgH2PDC2qAsByjOlU5yQDv2hTEBEle0c2N2-z1mL-udi49a1FreedSX0Vxm04RTFTO4UwZUO4TGsLu47JheVPuMUN5V4FUCpXPX6qoyiBrGHPWx6cfjYzEK0joJeNi9Q5LwMjZxmJ_1K2P13lTcw67fJEHQeBoiYles4TJXzgmKpYJtGRMdcdiLj8zFiDZYnq31imndZTjfIT5oTY5owEfKRCcfxoDjFMi7mrr0zpi1Tx9bGDUQLD50aoa3M1zqSQvOqi6StvWE-vDGYbRE3oNRIOtL5xQslLMLsvEK4etz_CsYW0WJ-tu_rKs7muU5yM0gIW2pCFiMbNGzJp37uFrxTD5LGn3b-r0gNhMWLYKGzYRIeyRWir2vymf2I0RX5wL5s"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```