---
title: "Create Cellar"
method: POST
path: "/cellars"
tags: ["cellars"]
---

# Create Cellar

`POST /cellars`

## Request

- Base URL: `https://api.emile.wine` (the document declares no server; this is the origin it was published from)
- URL: `https://api.emile.wine/cellars`
- Auth: HTTP bearer

Create a new cellar for the authenticated user.

## Headers

- `X-API-Key` string, nullable

## Request body

- CellarCreate
  - `name` string
  - `location_description` string, nullable
  - `capacity_hint` integer, nullable
  - `storage_type` string

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/emile/apis/emile-api.md) · [All operations](https://skmtc.dev/emile/apis/emile-api/llms.txt) · [OpenAPI document](https://skmtc.dev/emile/apis/emile-api/revisions/eb2d1d1db972?raw)
