APIs & Integrations

Not applicable

Get all contact properties by groupName

I can get all the contact properties by using:

https://api.hubapi.com/contacts/v2/properties?hapikey=demo

and get a contact property using property_name

http://api.hubapi.com/contacts/v2/properties/named/hs_persona?hapikey=demo

Is it possible to get all the contact properties filtered by groupName? For e.g. I want to get all the contact properties where “groupName” is set to"contactinformation".

0 Upvotes
2 Replies 2
Dadams
HubSpot Employee
HubSpot Employee

Get all contact properties by groupName

Hi @sajinshrestha

You can get the properties in a group using this endpoint:

/properties/v1/contacts/groups/named/:groupName

and adding the includeProperties=true parameter in the request URL.

https://api.hubapi.com/properties/v1/contacts/groups/named/analyticsinformation?hapikey=demo&include...

0 Upvotes
Not applicable

Get all contact properties by groupName

@dadams

Thank you. This is exactly what I was looking for.

Is it possible to request multiple Contact Property by name instead of requesting one at a time?

e.g. get hs_persona, mobilephone, company etc.

Thanks,