Freshdesk-Contact's last activity

Hello all,
For data protection policy, I have to anonymise user on my freshdesk helpdesk who have been inactive for more than two years. So is there a way to get a contact’s last activity?
Thanks!

I could to some end comprehend your question that your application needs the contact’s last activity. I see there is an Omnichannel Activities API that might be of help.

But I am struggling a bit to associate this requirement with anonymity. I wonder if you could explain a bit more?

cc: @Andonirina