---
title: "Preview text document signing page"
method: POST
path: "/document/preview/"
tags: ["document"]
---

# Preview text document signing page

`POST /document/preview/`

## Request

- Base URL: `https://eu-api.legalesign.com/api/v1`
- URL: `https://eu-api.legalesign.com/api/v1/document/preview/`
- Auth: API key in header `Authorization`

Returns a redirect response (302) with link in the Location header to a one-use temporary URL you can redirect to, to see a preview of the signing page. Follow the redirect immediately since it expires after a few seconds.

## Request body

- HTMLSigningPreviewPost
  - `text` string
  - `title` string
  - `group` string
  - `signee_count` integer

## Other responses

- `302`: Short-lived link (a few seconds) to signing page preview returned in Location header

## Changes

- **2025-09-26** `2e8288936d2d`: 1 info
  - endpoint added
- **2025-09-23** `3bf301e758f2`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/legalesign/apis/legalesign-api/changes/document/preview/post.md)

---

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