---
title: "Set Game Flowchart"
method: POST
path: "/api/manageGame/setFlowchart/{gameName}"
tags: ["Manage Game"]
---

# Set Game Flowchart

`POST /api/manageGame/setFlowchart/{gameName}`

## Path parameters

- `gameName` string, required

## Request body

- SetFlowchartDto
  - `flowchartContent` string, required — The flowchart content in JSON format

## Response `200`

Game flowchart saved successfully.

## Other responses

- `400` — Failed to save the game flowchart.

## Changes

- **2025-09-20** `2911d2db6a21` — 1 info
  - endpoint added
- **2023-10-20** `bbfe1dbc457f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/openwebgal/apis/webgal-terre-api/changes/api/manageGame/setFlowchart/:gameName/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/2911d2db6a21/schema)
