---
title: "Add Text Document"
method: POST
path: "/api/v1/documents/text"
tags: ["documents"]
---

# Add Text Document

`POST /api/v1/documents/text`

Save pasted text (positioning notes, FAQ answers, promo details) as a document.

## Headers

- `authorization` string, nullable — Bearer <token>

## Request body

- TextDocumentIn
  - `title` string, required
  - `text` string, required

## Response `201`

Successful Response

- EnvelopeDict
  - `data` object, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/eb854265cf29/schema)
