Tracking App uninstallation

Hi,
Is there any way right now through which we can track whether the app is now getting uninstalled ?
For example if I need to do some sort of cleanup process or hit some api of our platform whenever an app is being uninstalled from a freshdesk domain, then right now is there any way to do so ?
Ours is a CTI app and sits on the “cti_global_sidebar” location in manifest.json.
Thanks in advance !

Hi, @Himanshu_Sehgal

You can listen for the onAppUninstall event on server side.
https://developers.freshdesk.com/v2/docs/app-setup-events/#onappuninstall

If there’s no server side yet on your app, you can make it hybrid by creating a folder named server and placing a new file named server.js on it.

4 Likes