APIs & Integrations

dabid
メンバー

Search contacts: need to get all contact's properties

解決

Hello all, I would like to know if there's a way to get all contact's properties (not only the default ones) without typing them all in the 'properties' array (kind of burdensome especially if we have plenty, but moreover it's not so flexible if some new properties are added later via hubspot admin app).

 

A kind of wilcard would be great (tested just in case, but it fails :))

0 いいね!
1件の承認済みベストアンサー
RMones
解決策
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Search contacts: need to get all contact's properties

解決

Hi @dabid ,

 

You can try to do this with the Schema API.

 

https://api.hubapi.com/crm/v3/schemas/contacts

There will be an entry in the response with all the properties they exist on the Contact records.

 

You can create a object from the properties there and add them to the next call.

 

Greets Ronald

元の投稿で解決策を見る

4件の返信
dabid
メンバー

Search contacts: need to get all contact's properties

解決

Sounds good @RMones , I'll try this. Thank you both for your responsiveness

0 いいね!
RMones
解決策
投稿者 | Platinum Partner
投稿者 | Platinum Partner

Search contacts: need to get all contact's properties

解決

Hi @dabid ,

 

You can try to do this with the Schema API.

 

https://api.hubapi.com/crm/v3/schemas/contacts

There will be an entry in the response with all the properties they exist on the Contact records.

 

You can create a object from the properties there and add them to the next call.

 

Greets Ronald

camera
参加者

Search contacts: need to get all contact's properties

解決

Hello people,

 

I'm trying to do the same thing, but I didn't figured out how to the Schema API will be helpful.

 

We have more than 600.000 contacts and more than 800 properties. So, the only way that I found, was to divide the properties in groups of 100 (there are a charactere limitation in the request that I don't know how many yet).

 

Then, we do a request 100 by 100 contacts for each group (a lot of requests!). And after that we will have to do a merge in the database to unify all the properties for each contacts.

 

Is there anything that I'm not seeing?

0 いいね!
dennisedson
HubSpot製品開発チーム
HubSpot製品開発チーム

Search contacts: need to get all contact's properties

解決

@dabid 

There is no way to do this with the API call, but I believe there is a library that can do this.

@quentin_lamamy , can you help out here?

0 いいね!