---
updatedAt: 2026-06-19T16:07:00.000Z
---

# Category (Kometia)

<p>Creates a new category.<br></p>

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "Kometia"
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "paths": {
    "/categories": {
      "post": {
        "summary": "Category (Kometia)",
        "description": "<p>Creates a new category.<br></p>",
        "operationId": "create_category_kometia",
        "responses": {
          "200": {
            "description": "Successful response"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "Authorization": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization",
        "description": "Used to authenticate API requests after completing the store authorization or integration process. The access_token is generated once the e-commerce store grants access and must be included in every request header to validate the authorized connection."
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "security": [
    {
      "Authorization": []
    }
  ]
}
```