APIs & Integrations

sBalasubraman
Member

getting filtered contacts using API

I'm trying to use search contacts API and getting the contacts with lead source value as Marketing qualified leads.

I'm not sure whats causing this response.

sBalasubraman_0-1680529743004.png

 

 

0 Upvotes
3 Replies 3
SSukys
Contributor | Elite Partner
Contributor | Elite Partner

getting filtered contacts using API

Hey @sBalasubraman  happy to hop in and help here. This is an intersting problem and could be a number of issues. I see you are using Postman to run this request, lets check something first to make sure its not an easy problem to solve. 

 

First, can you run this request to the API without specifying parameters?

My initial thought is your authorization headers may be incorrect. Running without the paramaters can help us narrow down the problem for you! Lets start there and I will monitor this thread to assist as we test together! Looking forward to solving this for you.

 

Sean

0 Upvotes
sBalasubraman
Member

getting filtered contacts using API

I actually found the issue, i was suppose to provide the propery name as lead_source.

But thanks for taking your time to get back. 

SSukys
Contributor | Elite Partner
Contributor | Elite Partner

getting filtered contacts using API

Excellent! I am glad you were able to solve the issue! That makes total sense that was the solution. Have a great day!

 

Sincerely,

 

Sean Sukys

Account Executive, Bluleadz a HubSpot Elite Partner Agency

ssukys@bluleadz.com

0 Upvotes