contact get api archived=true cant work

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’ --header ‘authorization: ************’

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

Hi @PCai

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

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

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

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!

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’ --header ‘authorization: ************’

but it cant response deleted data,