[V2] Get Deleted Records

Dear Pipedrive Developers,

I use the pipedrive v2 API to retrieve data. For the standard “getX” endpoints in v2 there is the status filter option missing. Furthermore, with the update on April 22nd you removed that deleted records can be retrieved. We keep our data models in sync with pipedrive and normally we would like to use the updated_since filter - however when deleted records are not sent, our database gets out of sync, hence I have to loop over all records to see which one is not coming back from pipedrive API - this feels super inefficient.
I looked through the documentation already and unfortunately there is no filter parameter to retrieve all records (only in a previous endpoint, where status filter was present). As already mentioned, maybe you could bring this back somehow or point me in the right direction so that I can retrieve the deleted records as well.
Thank you very much in advance.

Kind regards,
Christian

Hello,

Perhaps as an alternative you could subscribe to entity delete webhooks and delete records from your database based on them?
As for the API, we do not plan to expose deleted items in the GET list endpoints intentionally again. However deleted items will remain accessible via API when accessed directly by id, e.g. GET /api/v2/deals/123 for 30 days after their deletion by the user.

All the best,
Andreas

Dear Andreas,

thank you for your reply. Unfortunately, we can’t use webhooks, as our app is not public (or at least not with a lot of effort). My solution works for now, I just wanted to make you aware, that this could easily reduce your API load for some cases and I though it is easy for you to add this API option (which would just be more convenient to use for us).

Kind regards,
Christian