I want to get/pull all the contacts with hs_leads_status = Open and i am using but it returns hs_leads_status = Closed as well. How to pass the parameters correctly and achieve it?
2 Answers
This is not possible using the v1 API. You can however use the v3 API's search for this.
Using an filter group with EQ param should satisfy your usecase.
Finally get succeeded with:
POST - Body - { "properties": [ "firstname", "lastname", "phone", "hs_lead_status" ], "limit": 100, "filterGroups": [ { "filters": [ { "propertyName": "hs_lead_status", "operator": "EQ", "value": "Open" } ] } ] } but the limitation is that it returns only 100 records with pagination.