---
title: "Preview a template with sample values"
method: POST
path: "/team/templates/{template_id}/preview"
tags: ["team"]
---

# Preview a template with sample values

`POST /team/templates/{template_id}/preview`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/team/templates/{template_id}/preview`
- Auth: HTTP bearer

The template filled with plainly sample values (Alex Example, $150,000) as a PDF, after the check that only its blanks changed, for an admin to read before confirming it.

## Path parameters

- `template_id` string, required

## Request body

- object

## Response `200`

The result.

- object
  - `file_name` string, required
  - `content_type` string, required
  - `content_base64` string, required
  - `missing` string[], required
  - `pages` string[], required

## Other responses

- `default`: An RFC 9457 problem.

---

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