---
title: "Add a new scene with a generated battlemap (costs 1 credit)"
method: POST
path: "/v1/ttrpg/{id}/scenes"
tags: ["AI Tabletop"]
---

# Add a new scene with a generated battlemap (costs 1 credit)

`POST /v1/ttrpg/{id}/scenes`

## Request

- Base URL: `https://api.sprixen.com`
- URL: `https://api.sprixen.com/v1/ttrpg/{id}/scenes`
- Auth: `bearer` (a scheme the document does not define)

## Path parameters

- `id` string, required

## Request body

- CreateTtrpgSceneDto
  - `title` string, required
  - `description` string
  - `readAloud` string
  - `clue` string
  - `encounter` string
  - `difficultyNote` string
  - `mapPrompt` string

## Response `201`

Updated adventure with new scene

## Other responses

- `400`: Adventure not completed yet
- `402`: Insufficient credits

---

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