---
title: "Plain-text download of a single section"
method: GET
path: "/api/section.txt"
tags: ["rest"]
---

# Plain-text download of a single section

`GET /api/section.txt`

## Request

- Base URL: `https://masnavi.ai`
- URL: `https://masnavi.ai/api/section.txt`
- Auth: none declared

Plain-text variant of /api/section. Pass ?download=1 to attach.

## Query parameters

- `slug` string, nullable
- `section_id` integer, nullable
- `download` integer

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/masnavi/apis/masnavi-ai.md) · [All operations](https://skmtc.dev/masnavi/apis/masnavi-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/masnavi/apis/masnavi-ai/revisions/2622163d327c?raw)
