---
title: "Create Hybrid Share"
method: POST
path: "/shares/create"
---

# Create Hybrid Share

`POST /shares/create`

Create a combinable link in one call: folders/people scope (auto-updating) AND/OR
manually-selected images. Scope requires a concrete projectId; explicit-only images may
be cross-project (representative project is stored, like /createShareLink).

With scopeLinkMode="per_selected_item", every selected person/folder becomes an independent
link regardless of category. All rows are created in the same transaction.

## Request body

- CreateHybridShareRequest
  - `projectId` integer, nullable
  - `imageIds` string[]
  - `personIds` string[]
  - `personFieldValueIds` string[]
  - `personFieldPresentation` 'combined' | 'per_person' | 'combined_and_people'
  - `folderNames` string[]
  - `folderCategories` object
  - `folderRefs` ShareFolderRefRequest[]
    - `name` string, required
    - `category` string, nullable
  - `folderLinkMode` 'combined' | 'per_folder', nullable
  - `scopeLinkMode` 'combined' | 'per_selected_item', nullable
  - `mode` 'per_person' | 'all_in_one', nullable
  - `label` string, nullable
  - `title` string, nullable
  - `description` string, nullable
  - `includedLabel` string, nullable
  - `expiresInDays` integer, nullable
  - `password` string, nullable
  - `category` string, nullable
  - `creatorDisplay` 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)
