---
title: "Preview Contract DOCX"
method: POST
path: "/api/v1/admin/contracts/preview"
tags: ["Contracts"]
---

# Preview Contract DOCX

`POST /api/v1/admin/contracts/preview`

Builds the DOCX from the given data without persisting anything

## Request body

- object
  - `templateKey` string, required
  - `variant` string
  - `contractNo` string
  - `partyA` object
  - `partyB` object
  - `values` object

## Other responses

- `400` — Validation failed
- `404` — Template not found

---

[API](https://skmtc.dev/newapi/apis/qn-platform-api.md) · [All operations](https://skmtc.dev/newapi/apis/qn-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/newapi/qn-platform-api/revisions/d61f11e363ff/schema)
