APIs & Integrations

HUllah0
Member

How to get contacts with hs_leads_status = Open from hubspot using Contact List API?

SOLVE

I want to get/pull all the contacts with hs_leads_status = Open and i am using https://api.hubapi.com/contacts/v1/lists/all/contacts/all?count=100&property=phone&property=hs_lead_... but it returns hs_leads_status = Closed as well. How to pass the parameters correctly and achieve it? Website

0 Upvotes
1 Accepted solution
ChrisoKlepke
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

How to get contacts with hs_leads_status = Open from hubspot using Contact List API?

SOLVE

Hey @HUllah0 , 

 

We recently had a similar question on that topic. @Teun answered it the same I would have by recommending the Search API endpoint.

 

Go to the post

 

If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it. Also give Teuns post some love as well 👍

 

Cheers, 

Chriso

View solution in original post

1 Reply 1
ChrisoKlepke
Solution
Key Advisor | Elite Partner
Key Advisor | Elite Partner

How to get contacts with hs_leads_status = Open from hubspot using Contact List API?

SOLVE

Hey @HUllah0 , 

 

We recently had a similar question on that topic. @Teun answered it the same I would have by recommending the Search API endpoint.

 

Go to the post

 

If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it. Also give Teuns post some love as well 👍

 

Cheers, 

Chriso