---
title: "Merge Duplicates Bulk Endpoint"
method: POST
path: "/mergeDuplicatesBulk"
---

# Merge Duplicates Bulk Endpoint

`POST /mergeDuplicatesBulk`

## 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/mergeDuplicatesBulk`
- Auth: none declared

Many independent merges in one request ("Merge into link B" for a whole batch).

Each set is its own transaction via merge_duplicates, so one bad set (already resolved in
another tab, not identical) is reported and skipped without undoing the others.

## Request body

- MergeDuplicatesBulkRequest
  - `projectId` integer, required
  - `merges` MergeDuplicatesItem[], required
    - `keepImageId` string, required
    - `dropImageIds` string[], required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-25** `2d0ce42a740c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pavoot/apis/pavoot-api/changes/mergeDuplicatesBulk/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)
