HubSpot Ideas

tiagogeada

includeAllProperties=true should be available in all API endpoints that return objects with properti

Hello,

 

API endpoints that return deals, companies and contacts with properties all contain a request parameter called "properties" where we specify the list of properties to be returned.

However, when we have too many properties we can't include them all in the request, otherwise results in "414 Request-URI Too Large".

 

I posted this in the community forums and was suggested to create this idea request.

 

Seems that the "includeAllProperties=true" and "allPropertiesFetchMode=lastest_version" parameters already exist in some Deals enpoints. It should exist across the board.

 

Another possibility, could be allowing to request these API lists endpoints via POST, avoiding the URL becoming too large.

2 Replies
Algorithmist
Member

This is a great idea to either globally support includeAllProperties for endpoints (at least all the ones returning a single object) or to support a post method rather than requiring the properties to be listed in the URL which has character length limits.

If Hubspot is allowing enterprise customers to have 1000+ properties for objects, it is impossible to actually request a single object and reliably get the whole thing. Instead we would have to do a kludge solution of using multiple separate requests with different lists of properties each time and then reassemble them responses back into a single piece. This results in more requests, more overhead, more lag, and greater chance of error.

PedroTayer
Participant

This is very important