---
title: "Get formatted text markup"
method: GET
path: "/api/v2/text/markup/{id}/"
tags: ["Formatted Documents"]
---

# Get formatted text markup

`GET /api/v2/text/markup/{id}/`

Return stored formatted markup for a checked formatted text, including rendered HTML, the parsed map JSON, and the plain text used for the report.

The text must exist, must not be deleted, must be readable by the authenticated user, and must have formatted report assets available. Non-formatted texts and missing markup/map/plain-text assets return a validation error.

## Path parameters

- `id` integer, required

## Response `200`

The request succeeded and returned stored formatted markup assets.

- object
  - `success` boolean
  - `data` FormattedMarkup — Stored formatted report assets for a formatted text.
    - `html` string — Rendered HTML markup generated for the formatted report.
    - `map` object — Parsed JSON map generated by the formatted-text processor.
    - `text` string — Plain text stored for the formatted report.

## Other responses

- `400` — The request is invalid. Check required fields, field formats, and resource ownership.
- `403` — Authentication or authorization failed because the token is missing, invalid, blocked, or not allowed to access the resource.
- `404` — The requested resource was not found.

---

[API](https://skmtc.net/plagiarismcheck/apis/plagiarismcheck-org-api.md) · [All operations](https://skmtc.net/plagiarismcheck/apis/plagiarismcheck-org-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/plagiarismcheck/plagiarismcheck-org-api/revisions/034b4999350e/schema)
