---
title: "Render manuscript to EPUB / DOCX / PDF"
method: POST
path: "/books/{bookId}/produce"
---

# Render manuscript to EPUB / DOCX / PDF

`POST /books/{bookId}/produce`

## Request

- Base URL: `https://anthra.com/api/v1`
- URL: `https://anthra.com/api/v1/books/{bookId}/produce`
- Auth: HTTP bearer

EPUB / DOCX render synchronously and stream the file back. PDF dispatches to a workflow and returns `{ jobId }` — poll `/production-jobs/{jobId}` until status="ready".

## Request body

- object
  - `format` 'epub' | 'pdf' | 'docx', required
  - `config` object

## Response `200`

EPUB or DOCX bytes

## Other responses

- `202`: PDF job dispatched — poll the jobId

---

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