---
title: "Sourcely V2 Export Document"
method: POST
path: "/sourcely_v2_export_document"
---

# Sourcely V2 Export Document

`POST /sourcely_v2_export_document`

## Request

- Base URL: `https://api.yomu.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.yomu.ai/sourcely_v2_export_document`
- Auth: API key in header `ACCESS_TOKEN`

Export the full document in docx or pdf format.

The frontend pre-renders in-text citations into plain text nodes and sends
bibliography entries pre-formatted under references["citations"][i][selectedStyle],
so all CSL styles export exactly as rendered in the editor.

## Request body

- SourcelyV2ExportDocumentRequest
  - `title` string, nullable
  - `format` string, required
  - `content` object[], required
  - `references` object, nullable
  - `isProduction` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yomu/apis/yomu-api.md) - [All operations](https://skmtc.dev/yomu/apis/yomu-api/llms.txt) - [OpenAPI document](https://skmtc.dev/yomu/apis/yomu-api/revisions/eff015f3726e?raw)
