---
title: "Send a player action to the AI-DM"
method: POST
path: "/v1/ttrpg/sessions/{sessionId}/turns"
tags: ["AI Tabletop"]
---

# Send a player action to the AI-DM

`POST /v1/ttrpg/sessions/{sessionId}/turns`

## Request

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

## Path parameters

- `sessionId` string, required

## Request body

- SendTtrpgTurnDto
  - `content` string, required
  - `rollResult` number

## Response `201`

Player and AI-DM messages created

---

[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)
