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.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.