APIs & Integrations

JGARCIA2
Member

We want to fetch these columns information in contact API.

 

We want to fetch these columns information in contact API.

 

API is: 

https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=demo&count=2

And We need these columns

 

message 

creation date

Marketing contact status source name

0 Upvotes
RMones
Contributor | Platinum Partner
Contributor | Platinum Partner

We want to fetch these columns information in contact API.

Hi @JGARCIA2 ,

 

You can add the properties you want in the request.

You can add them by this way:

https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=demo&count=2&property=firstname&property=email&property=createdate

 

So for each property you want, you can add them with as a GET variable with &property=[PROPERTY_NAME]

TiphaineCuisset
Community Manager
Community Manager

We want to fetch these columns information in contact API.

Hi @JGARCIA2 

 

Thank you for reaching out.

 

I want to tag some of our experts on this - @himanshurauthan @miljkovicmisa @JBeatty do you have any thought for @JGARCIA2 on this? 

 

Thank you!

Best

Tiphaine


Saviez vous que la Communauté est disponible en français?
Rejoignez les discussions francophones en changeant votre langue dans les paramètres !

Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !


himanshurauthan
Recognized Expert | Diamond Partner
Recognized Expert | Diamond Partner

We want to fetch these columns information in contact API.

Hello @TiphaineCuisset and @JGARCIA2,

 

You just need to append the properties internal name to the API URL, like if you want to fetch message and email then you have add them in the get API URL

 

https://api.hubapi.com/contacts/v1/lists/all/contacts/all?hapikey=demo&count=10&property=message&pro...

 

It will provide you with the properties that you want to fetch from HubSpot.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology