---
title: "Preview a saved template"
method: POST
path: "/v1/templates/{id}/preview"
tags: ["Templates"]
---

# Preview a saved template

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

## Request body

- object
  - `data` object

## Response `200`

Rendered preview

- TemplatePreview
  - `subject` string
  - `html` string
  - `text` string

---

[API](https://skmtc.net/shareout/apis/shareout-rest-api.md) · [All operations](https://skmtc.net/shareout/apis/shareout-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/shareout/shareout-rest-api/revisions/804359ead65a/schema)
