---
title: "POST /plants"
method: POST
path: "/plants"
---

# POST /plants

`POST /plants`

Creates a new plant in the store

## Request body

- NewPlant
  - `name` string, required — The name of the plant
  - `tag` string — Tag to specify the type
  - `id` integer, required — Identification number of the plant

## Response `200`

plant response

- Plant
  - `name` string, required — The name of the plant
  - `tag` string — Tag to specify the type

## Other responses

- `400` — unexpected error

## Changes

- **2024-08-26** `a2d864f3a8db` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/altera-co/apis/openapi/changes/plants/post.md)

---

[API](https://skmtc.dev/altera-co/apis/openapi.md) · [All operations](https://skmtc.dev/altera-co/apis/openapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/altera-co/openapi/revisions/a2d864f3a8db/schema)
