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

# Create Hybrid Share

`POST /shares/create`

## Request

- Base URL: `https://api.pavoot.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pavoot.com/shares/create`
- Auth: none declared

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
  - `allProjectImages` boolean
  - `scopeMatch` 'any' | 'all', 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

## Changes

- **2026-09-23** `1e48db8026da`: 2 info
  - added the new optional request property `allProjectImages`
  - added the new optional request property `scopeMatch`

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/shares/create/post.md)

---

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