# Get Duplicate Contacts via the API

**URL:** <https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 8, 2024, 6:50pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361 "2024-01-08T18:50:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![SHorvat](https://avatars.discourse-cdn.com/v4/letter/s/f04885/32.png) [@SHorvat](https://community.hubspot.com/u/SHorvat)\
**Post date:** [January 8, 2024, 6:50pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361/1 "2024-01-08T18:50:41Z")

</div>

In the UI, you can view potential duplicate contacts via the ‘Manage Duplicate Records’ page:  
[https://app.hubspot.com/duplicates/ACCOUNT\_ID/contacts](https://app.hubspot.com/duplicates/ACCOUNT_ID/contacts)

Is this list of contacts accessible via the API? We’d like to programatically merge contacts, and this seems like it would be a good starting point.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 8, 2024, 10:03pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361/2 "2024-01-08T22:03:25Z")

</div>

Hey, @SHorvat 👋 There is not an API-based version of the in-app potential duplicates list. Our community champion @coldrickjack offered one potential workaround in their reply here — [Is there an API endpoint to add potential duplicates to Manage Duplicates section](https://community.hubspot.com/t5/APIs-Integrations/Is-there-an-API-endpoint-to-add-potential-duplicates-to-Manage/m-p/703298/highlight/true#M57642)?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![Drew\_Kulas](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@Drew\_Kulas](https://community.hubspot.com/u/Drew_Kulas)\
**Post date:** [February 12, 2025, 3:12pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361/3 "2025-02-12T15:12:31Z")

</div>

Hi Jaycee,

I was wondering if there is any documentation for using the endpoint “(/crm/v3/objects/contacts/merge)” within the Contacts API? It was referenced by @coldrickjack but I have not been able to find anything.

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [February 12, 2025, 3:24pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361/4 "2025-02-12T15:24:48Z")

</div>

Hi [@Drew\_Kulas](https://community.hubspot.com/t5/user/viewprofilepage/user-id/898796), documentation for that endpoint can be found [here](https://developers.hubspot.com/docs/reference/api/crm/objects/contacts#post-%2Fcrm%2Fv3%2Fobjects%2Fcontacts%2Fmerge). It takes two parameters, the ID of the contact you wish to merge and the ID of the contact you wish to keep after the merge.

---

<div class="post-metadata">

**Author:** ![Drew\_Kulas](https://avatars.discourse-cdn.com/v4/letter/d/22d042/32.png) [@Drew\_Kulas](https://community.hubspot.com/u/Drew_Kulas)\
**Post date:** [February 12, 2025, 3:35pm UTC](https://community.hubspot.com/t/get-duplicate-contacts-via-the-api/97361/5 "2025-02-12T15:35:18Z")

</div>

Thanks so much for the quick reply!!
