Restore deleted contact with history via API



Let’s say that I accidentally deleted contacts through API. Is there any way to restore these contacts (with their history, and all data) via API ?

Thank you.


Hi @przemyslaw.celej

Deleted contacts cannot be restored via the API. In some cases some data can be restored for deleted records but you’d need to reach out to the support team to see what could be recovered.


Thank you very much for your response.

I have another question, is there any way to “hide” contact and then restore it (everything via API) ?



There isn’t a way to completely prevent a contact from being viewable in HubSpot, but you can use a custom view to filter the contacts you’d see on the Contacts dashboard: