---
title: "Create Style"
method: POST
path: "/api/styles"
---

# Create Style

`POST /api/styles`

## Request

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

## Request body

- CreateStyleRequest
  - `name` string, required
  - `description` string, required

## Response `201`

Successful Response

- StyleResponse
  - `id` string, required
  - `name` string, required
  - `style_name` string, nullable
  - `description` string, required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `422`: Validation Error

---

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