---
title: "Rule From Sentence"
method: POST
path: "/v1/games/rule"
tags: ["games"]
---

# Rule From Sentence

`POST /v1/games/rule`

## 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/games/rule`
- Auth: none declared

One rule for a scene, from a sentence; the level editor adds it to the scene's rules.

## Headers

- `authorization` string, nullable
- `X-API-Key` string, nullable

## Request body

- object

## Response `200`

Successful Response

- object

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