---
title: "Create Component"
method: POST
path: "/components"
tags: ["Components"]
---

# Create Component

`POST /components`

## Request body

- CreateComponentRequestData
  - `name` string, required
  - `description` string, nullable
  - `status` 1 | 2 | 3 | 4 | 5 | 6
  - `link` string, uri, nullable
  - `order` integer, nullable
  - `enabled` boolean
  - `component_group_id` integer, nullable
  - `meta` object, nullable

## Response `200`

`Component`

## Other responses

- `401` — Unauthenticated
- `403` — Authorization error
- `422` — Validation error

---

[API](https://skmtc.net/cachethq/apis/cachet.md) · [All operations](https://skmtc.net/cachethq/apis/cachet/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cachethq/cachet/revisions/1cae90969eb9/schema)
