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

sessionIdstring required

TTRPG session ID

Request body

contentstring required
rollResultnumber

Example request

{
  "content": "I sneak behind the statue and inspect the silver keyhole.",
  "rollResult": 14
}

Response

Player and AI-DM messages created

Changes

No recorded changes to this operation across all 1 revision of this API.