---
title: "Process a skipped duplicate anyway"
method: POST
path: "/v1/extract/dedup/process-anyway"
tags: ["Documents"]
---

# Process a skipped duplicate anyway

`POST /v1/extract/dedup/process-anyway`

## Request

- Base URL: `https://api.talonic.com`
- URL: `https://api.talonic.com/v1/extract/dedup/process-anyway`
- Auth: HTTP bearer

Creates a new document that reuses an existing document's content and values, without reading the file again. The existing document must be visible to the key's person. Send an `Idempotency-Key` header to make retries safe: the same request with the same key from the same API key within 24 hours returns the first copy with its original status and `Idempotent-Replayed: true` instead of creating another; the same key with a different body, or from another API key, answers 422 `idempotency_key_reused`; a retry while the first call still runs answers 409 `idempotency_request_in_progress`. Requires the `documents:write` scope. The key's person needs the `ingest` permission (Contract Management and above by default), as in the web app.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `existing_document_id` string, uuid, required
  - `filename` string
  - `source_connection_id` string, uuid
  - `tags` string[]

## Response `201`

The new document. On a retry with the same Idempotency-Key, the first copy with `Idempotent-Replayed: true`.

- object
  - `document` object
    - `id` string, uuid
    - `filename` string
    - `status` string
    - `links` object

## Other responses

- `400`: The request is invalid.
- `401`: Missing or invalid API key.
- `403`: The API key does not have the required scope.
- `409`: `idempotency_request_in_progress`: a request with the same Idempotency-Key is still running; retry shortly.
- `422`: `idempotency_key_reused`: the Idempotency-Key was already used for a different request or by another API key.
- `429`: Daily rate limit exceeded.

## Changes

- **2026-11-27** `90feef18b640`: 2 breaking, 2 info
  - for the `header` request parameter `Idempotency-Key`, the maxLength was decreased from `255` to `64`
  - removed the success response with the status `200`
  - added the non-success response with the status `422`
  - removed the non-success response with the status `503`
- **2026-11-26** `622d429de7ea`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/talonic/apis/talonic-api/changes/v1/extract/dedup/process-anyway/post.md)

---

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