---
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
  - `tags` string[]
  - `meta` object, nullable

## Response `200`

`Component`

## Other responses

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

## Changes

- **2026-08-25** `96314e3ca8ef` — 4 info
  - added the new optional request property `tags`
  - added the optional property `data/relationships/tags` to the response with the `200` status
  - added the optional property `included/items/anyOf[subschema #2: Incident]/relationships/tags` to the response with the `200` status
  - added `#/components/schemas/Tag` to the `included/items/` response property `anyOf` list for the response status `200`
- **2026-08-01** `9a4121c20e42` — 1 breaking
  - the `link` request property type/format changed from `string, null`/`` to `string, null`/`uri`
- **2026-07-27** `09d2b7258b3c` — 4 breaking, 7 warning, 9 info
  - removed `#/components/schemas/ComponentStatusEnum, subschema #2` from the `status` request property `anyOf` list
  - request property `status` was restricted to a list of enum values
  - the `status` request property type/format changed from ``/`` to `integer`/``
  - the `data/attributes/pivot/component_status/value` response's property type/format changed from `string, null`/`` to `integer, null`/`` for status `200`
  - …16 more
- **2026-07-25** `e653c575dc15` — 1 info
  - added the required property `included/items/anyOf[subschema #2: Incident]/attributes/published` to the response with the `200` status
- …earlier changes not shown

[Full history](https://skmtc.dev/cachethq/apis/cachet/changes/components/post.md)

---

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