Hello,
I was wondering how the recently introduced feature of restoring recently deleted contacts (and companies, deals) https://www.hubspot.com/product-updates/restore-deleted-contacts-companies-and-deals-with-recycle-bin-in-hubspot-crm would technically be reflected in the API.
My observations:
After the restoration of a contact, the modification date is set and (all?) fields that are calculated by Hubspot are set anew. However I could not find a field that would indicate that this contact was restored.
Also, I did not see a creation webhook executed after the restoration (tested for curiosity).
Questions that I have:
- Can I restore a contact (company, deal) also via the API or is it maybe a feature planned?
- Can I somehow see via the API that a contact was restored? If so, how?
- Would there be a way to use a webhook / workflow to be notified when a contact is restored?
For our integrations we typically react on a contact deletion by performing an action in the corresponding system (i.e. deletion as well). However, if a contact can “sneakily” re-appear via the restore functionality, we would be very interested to be able to react on this event, too.
Thank you in advance!