For our internal KPI dashboard we make use of the Leads and Deals endpoints. This gives us many important insights, until the API stopped working the way we use it.
As far as I can see Leads and Deals are in many ways the same, just different stages. However, the endpoint for Leads is much more limited. But we found a way to make the filter_id parameter work in the Leads endpoint for many months. It is not documented, but it worked just like it works for Deals.
Example request:
/v1/leads?filter_id=XXXX&limit=500&archive_status=not_archived&api_token=XXXX
This stopped working for us recently. We now get this response:
Response:
{"success":false,"data":null,"additional_data":null,"error":"An unknown error occurred","error_info":"Please check developers.pipedrive.com for more information about Pipedrive API."}
Could you please make the filter_id parameter work again for the Leads endpoint and perhaps even add it to the documentation?