# contact get api archived=true cant work

**URL:** <https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964>\
**Category:** APIs & Integrations\
**Tags:** contacts, webhooks\
**Created:** [January 30, 2024, 8:11am UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964 "2024-01-30T08:11:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PCai](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@PCai](https://community.hubspot.com/u/PCai)\
**Post date:** [January 30, 2024, 8:11am UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964/1 "2024-01-30T08:11:12Z")

</div>

when i subscripe contact.deletion webhook ,i cant get the deleted contact data with this api  
curl --request GET --url ‘[https://api.hubapi.com/crm/v3/objects/contacts/5392451?archived=true](https://api.hubapi.com/crm/v3/objects/contacts/5392451?archived=true)’ --header ‘authorization: \*\*\*\*\*\*\*\*\*\*\*\*’

i think this parameter archived=true can return the deleted data, bug now i get 404

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [January 30, 2024, 12:02pm UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964/2 "2024-01-30T12:02:13Z")

</div>

Hi @PCai

The API will delete your contact but there is no response data.

 ![GRajput_0-1706616073884.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/b/e/be0f8af541a2de16616266db13328ce97a9f5368.png)

I hope this will help you out. Please mark it as **Solution Accepted and upvote** to help another Community member.  
Thanks!

---

<div class="post-metadata">

**Author:** ![PCai](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@PCai](https://community.hubspot.com/u/PCai)\
**Post date:** [January 30, 2024, 12:14pm UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964/3 "2024-01-30T12:14:04Z")

</div>

Hi GRajput , my question is ,i want get deleted data with ‘archived=true’, but now i cant , maybe i am wrong to use this parameter

---

<div class="post-metadata">

**Author:** ![GRajput](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/grajput/32/102020_2.png) [@GRajput](https://community.hubspot.com/u/GRajput)\
**Post date:** [January 30, 2024, 1:17pm UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964/4 "2024-01-30T13:17:09Z")

</div>

Hi @PCai

The API doesn’t have a response so it won’t return any data. So doing archived=true will not send any data back.

Thanks!

---

<div class="post-metadata">

**Author:** ![PCai](https://avatars.discourse-cdn.com/v4/letter/p/d78d45/32.png) [@PCai](https://community.hubspot.com/u/PCai)\
**Post date:** [January 31, 2024, 8:06am UTC](https://community.hubspot.com/t/contact-get-api-archived-true-cant-work/98964/5 "2024-01-31T08:06:58Z")

</div>

sorry GRajput , maybe I didn’t express myself clearly， simple , i just want get had deleted contact through the get api  
curl --request GET --url ‘[https://api.hubapi.com/crm/v3/objects/contacts/5392451?archived=true](https://api.hubapi.com/crm/v3/objects/contacts/5392451?archived=true)’ --header ‘authorization: \*\*\*\*\*\*\*\*\*\*\*\*’

but it cant response deleted data,
