---
title: "Purchase access to a live action state"
method: POST
path: "/v1/live-actions/scenarios/{scenarioId}/purchase"
tags: ["Live Actions"]
---

# Purchase access to a live action state

`POST /v1/live-actions/scenarios/{scenarioId}/purchase`

## Request

- Base URL: `https://api.miaai.chat` (the document declares no server; this is the origin it was published from)
- URL: `https://api.miaai.chat/v1/live-actions/scenarios/{scenarioId}/purchase`
- Auth: HTTP bearer

## Path parameters

- `scenarioId` string, required

## Request body

- PurchaseStateDto
  - `stateId` string, required

## Response `200`

- PurchaseResponseDtoSchema
  - `purchased` boolean, required
  - `purchaseId` string, nullable, required
  - `balance` number, required

---

[API](https://skmtc.dev/miaai/apis/backend-template-api.md) - [All operations](https://skmtc.dev/miaai/apis/backend-template-api/llms.txt) - [OpenAPI document](https://skmtc.dev/miaai/apis/backend-template-api/revisions/2a8d88a5124f?raw)
