# Getting delete contacts from API

**URL:** <https://community.hubspot.com/t/getting-delete-contacts-from-api/30662>\
**Category:** APIs & Integrations\
**Tags:** crm\
**Created:** [January 22, 2021, 6:26pm UTC](https://community.hubspot.com/t/getting-delete-contacts-from-api/30662 "2021-01-22T18:26:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuyue15](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/wuyue15/32/29368_2.png) [@wuyue15](https://community.hubspot.com/u/wuyue15)\
**Post date:** [January 22, 2021, 6:26pm UTC](https://community.hubspot.com/t/getting-delete-contacts-from-api/30662/1 "2021-01-22T18:26:41Z")

</div>

Hi, there,

I’m trying to figure out why I’m not seeing delete/archived records return from API, I’m using [GitHub - HubSpot/hubspot-api-nodejs: HubSpot API NodeJS Client Libraries for V3 version of the API · GitHub](https://github.com/HubSpot/hubspot-api-nodejs), and doSearch capability,

The use case is, I need to pick up delete contact for example, and then sync and delete those from our system. Is it possible using the `doSearch` capability?

If not, could you recommend couple alternative solutions?

Thanks!

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 25, 2021, 7:33pm UTC](https://community.hubspot.com/t/getting-delete-contacts-from-api/30662/2 "2021-01-25T19:33:04Z")

</div>

Hello @wuyue15

Wondering if [@quentin\_lamamy](https://community.hubspot.com/t5/user/viewprofilepage/user-id/148828) or @louischausse might be able to help here!

---

<div class="post-metadata">

**Author:** ![louischausse](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/louischausse/32/18067_2.png) [@louischausse](https://community.hubspot.com/u/louischausse)\
**Post date:** [January 26, 2021, 5:30pm UTC](https://community.hubspot.com/t/getting-delete-contacts-from-api/30662/3 "2021-01-26T17:30:48Z")

</div>

Hello,

I think this maybe your solution: [https://community.hubspot.com/t5/APIs-Integrations/Get-recently-deleted-contacts-companies/td-p/288316#:~:text=Currently%2C%20it%20is%20not%20possible,on%20the%20contact%20object%20ID](https://community.hubspot.com/t5/APIs-Integrations/Get-recently-deleted-contacts-companies/td-p/288316#:~:text=Currently%2C%20it%20is%20not%20possible,on%20the%20contact%20object%20ID).

Don’t forget to mark my reply as a solution if you are satisfied. If not, do not hesitate to ask me anything!
