Mautic Community Forums

Need Api to get only latest contact logs

Hello team Mautic,

Need your help on an issue, first of all I wanna tell that I have more than 1,00,000 records/contacts in mautic. And my main requirement is that I want to get the event logs of the contacts. As I have many records so please tell me, how can I get latest event logs of these contacts.

Is there any api to get this?

Right now, I am fetching records in loop of 100 records each using cron job, but it takes too much time(5 days) to complete.
Please give some better solution than this so that it makes my work easy.

I am waiting for your valuable response on this. Hope you will revert me as soon as possible.