---
title: "Preview merging a duplicate contact"
method: GET
path: "/contacts/{id}/merge"
tags: ["Contacts"]
---

# Preview merging a duplicate contact

`GET /contacts/{id}/merge`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/contacts/{id}/merge`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Read-only. Lists what merging this contact into intoContactId would move (bills, payments, bank transactions, rules, invoices, 1099 and W-9 records, people) and which blank fields on the kept contact would be filled from this one.

## Path parameters

- `id` string, uuid, required

## Query parameters

- `intoContactId` string, uuid, required

## Response `200`

Merge preview: duplicate, keep, moves[{kind,label,count}], filledFields

## Other responses

- `404`: Not found
- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
