---
title: "POST /api/rpc/queryBoardDocument"
method: POST
path: "/api/rpc/queryBoardDocument"
tags: ["boards"]
---

# POST /api/rpc/queryBoardDocument

`POST /api/rpc/queryBoardDocument`

## Request

- Base URL: `https://21risk.com`
- URL: `https://21risk.com/api/rpc/queryBoardDocument`
- Auth: OAuth 2 (client credentials, token URL `/api/v1/oauth/token`)

Read the text of a Document board (a board of type "document": one rich-text page people write, for example how a process works). Returns the text as markdown and as the TipTap document the editor stores, plus its revision number and who saved it when. Before anyone has saved, revision, content, markdown, savedAt and savedBy are null. To change the text, send it to saveBoardDocument with this revision as baseRevision. The markdown may simplify tables and collapsible sections; edit through content when the document has those. Requires view access to the board.

## Request body

- object
  - `tenant` unknown, required
  - `boardSlug` string, required: The slug of the Document board, as listed by queryTenant

## Response `200`

Successful response

---

[API](https://skmtc.dev/21risk/apis/21risk-api.md) · [All operations](https://skmtc.dev/21risk/apis/21risk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/21risk/apis/21risk-api/revisions/273a727dfd49?raw)
