---
title: "Create a new game"
method: POST
path: "/api/manageGame/createGame"
tags: ["Manage Game"]
---

# Create a new game

`POST /api/manageGame/createGame`

## Request body

- CreateGameDto
  - `gameName` string, required — The name of the game to be created
  - `gameDir` string, required — The dir of the game to be created
  - `derivative` string — The name of the derivative to be used
  - `templateDir` string — The dir of the template to be applied

## Response `200`

Game creation result.

## Changes

- **2025-02-18** `6765f027be24` — 1 breaking, 1 warning, 2 info
  - added the new required request property `gameDir`
  - removed the request property `templateName`
  - added the new optional request property `templateDir`
  - the request property `derivative` became optional
- **2024-04-18** `4e647797e939` — 2 breaking
  - added the new required request property `derivative`
  - added the new required request property `templateName`
- **2023-10-20** `bbfe1dbc457f` — 4 warning
  - removed the request property `derivative`
  - removed the request property `gameDir`
  - removed the request property `ignoreTemplate`
  - removed the request property `templateDir`

[Change history](https://skmtc.dev/openwebgal/apis/webgal-terre-api/changes/api/manageGame/createGame/post.md)

---

[API](https://skmtc.dev/openwebgal/apis/webgal-terre-api.md) · [All operations](https://skmtc.dev/openwebgal/apis/webgal-terre-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/openwebgal/webgal-terre-api/revisions/34b5f2c5b3a3/schema)
