URL too long on https://api.hubapi.com/contacts/v1/lists/all/contacts/all
Hi,
We need to iterate through all contacts via the API, and fetch all of their properties.
Supplying all properties via the URL does not work (we get HTTP 400),
example URL length below is over 15K chars!?
any ideas? (other than processing properties in subsets)
URL too long on https://api.hubapi.com/contacts/v1/lists/all/contacts/all
@Frederic_Laruelle If you need every property the best way is to use the Get Contact by ID endpoint.
I understand this will take a lot of API calls but the get all endpoint wasn’t made to be that verbose intentionally to limit the possibility of a network timeout due to a huge payload.
URL too long on https://api.hubapi.com/contacts/v1/lists/all/contacts/all
Understood, however we have many joint customers and many of them have contact lists in the 100K+ range…
What’s more, we are unable to fetch just the contacts that have been updated in the past day or so, so we have to fetch them all every time.
Adding filtering by last updated date would greatly help as well…
URL too long on https://api.hubapi.com/contacts/v1/lists/all/contacts/all
@Frederic_Laruelle You could potentially set up a webhook to fire off from hubspot each time the contact has been updated. You could set it around the contact property “Last Updated”