---
title: "Watermarked preview PDF (not counted)"
method: POST
path: "/v1/templates/{id}/preview"
tags: ["Templates"]
---

# Watermarked preview PDF (not counted)

`POST /v1/templates/{id}/preview`

## Request

- Base URL: `https://api.castpdf.com`
- URL: `https://api.castpdf.com/v1/templates/{id}/preview`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `data` object
  - `version` integer

## Response `200`

The PDF.

## Other responses

- `default`: Error

---

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