---
title: "Talk"
method: POST
path: "/v1/play/{slug}/talk"
tags: ["games"]
---

# Talk

`POST /v1/play/{slug}/talk`

## Request

- Base URL: `https://api.mocapless.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mocapless.com/v1/play/{slug}/talk`
- Auth: none declared

A player says something to one of the game's characters and it answers
in character. Only when the owner switched it on for the game.

## Path parameters

- `slug` string, required

## Request body

- TalkRequest
  - `scene` integer
  - `entity` string, required
  - `message` string, required
  - `history` TalkTurn[]
    - `role` string, required
    - `text` string, required
  - `progress` object

## Response `200`

Successful Response

- TalkResponse
  - `reply` string, required
  - `source` string, required

## Other responses

- `422`: Validation Error

---

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