Get all property values for all Contact objects

Hello,

I am new to Hubspot. Is there any way to get all property values for all Contact objects?

Regards,

Yong

Hey, @YongChen :waving_hand: The best approach is to use the Search API and include all your required properties in the request body. — Specify returned properties

The Contacts API will let you search for all contacts, but there is a character limitation of URLs. Meaning if you have a lot of Contact Properties, default + custom for example, the Search API offers more flexibility.

This is because a request will only return a small subset of default properties in a request. You have to specify additional properties. Unfortunately, there is not a checkbox or option to make a simple all-in-one-request. You’ll have to build it once and then reuse or update as needed.

Have fun building! — Jaycee

Thank you @Jaycee_Lewis for the response.

What is the URL length limit for HubSpot?

I am albe to get all property values for deals and companies using includeAllProperties paratemer with legacy API(v1 and v2), but unfortunility it is not the case for contracts.

I have no problem to use one single request “/v3/properties/<objectType>” to get all property names, and build them all in the URL parameter, but I am worry that the URL length limitation will prevent me from sending the request, consider we have 658 properties for contracts.

So, if URL length limitation is a problem, is there a solution to get all property values for all contact objects?

Regards,

Yong