---
title: "Create Game"
method: POST
path: "/api/v1/games/items"
tags: ["api", "api", "games"]
---

# Create Game

`POST /api/v1/games/items`

## Request

- Base URL: `https://www.faroz.uz` (the document declares no server; this is the origin it was published from)
- URL: `https://www.faroz.uz/api/v1/games/items`
- Auth: HTTP bearer

## Request body

- GameCreate
  - `category_id` integer, required
  - `title` string, required
  - `description` string
  - `image` string
  - `exercise_ids` string[], required
  - `sort_order` integer
  - `is_active` boolean

## Response `201`

Successful Response

- Game
  - `id` integer, required
  - `category_id` integer, required
  - `title` string, required
  - `description` string
  - `image` string
  - `exercise_ids` string[]
  - `sort_order` integer
  - `is_active` boolean
  - `author_id` integer, nullable
  - `created_at` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/faroz/apis/edu-app-api.md) · [All operations](https://skmtc.dev/faroz/apis/edu-app-api/llms.txt) · [OpenAPI document](https://skmtc.dev/faroz/apis/edu-app-api/revisions/414a551ba773?raw)
