---
title: "Preview Share"
method: POST
path: "/shares/preview"
---

# Preview Share

`POST /shares/preview`

Live preview for the create/edit builder: resolves the exact set of images a link WOULD
contain (scope resolved within its project + individual images cross-project), returning the
total count and a handful of thumbnails. No link is created.

## Request body

- SharePreviewRequest
  - `projectId` integer, nullable
  - `imageIds` string[]
  - `personIds` string[]
  - `personFieldValueIds` string[]
  - `folderNames` string[]
  - `folderCategories` object
  - `folderRefs` ShareFolderRefRequest[]
    - `name` string, required
    - `category` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/pavoot/apis/fastapi.md) · [All operations](https://skmtc.dev/pavoot/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pavoot/fastapi/revisions/16997cca6697/schema)
