Getting properties versions in get recently modified companies API
SOLVE
Hi, I am using get recently modified companies api (/companies/v2/companies/recent/modified), and I would like to get the history of the property values. in get recently modified deals api the I can send includePropertyVersions=true and history will return for all properties.
in get recently modified contacts api I can send propertyMode=value_and_history to get the history.
in get all companies I can send propertiesWithHistory to the properties I want to get the history for.
Unfortunately, the Get recently modified companies endpoint does not return property histories. I recognize this is a painful inconsistency in our APIs and have passed along feedback to the team.
At this time, the best alternative is to query theGet all companies endpoint and include the propertiesWithHistory parameter for each of the properties you wish to analyze.
To filter the list of all companies, you could sort by the hs_lastmodifieddate property and look for values which are greater (more recent) than a specific millisecond timestamp.
Unfortunately, the Get recently modified companies endpoint does not return property histories. I recognize this is a painful inconsistency in our APIs and have passed along feedback to the team.
At this time, the best alternative is to query theGet all companies endpoint and include the propertiesWithHistory parameter for each of the properties you wish to analyze.
To filter the list of all companies, you could sort by the hs_lastmodifieddate property and look for values which are greater (more recent) than a specific millisecond timestamp.
Getting properties versions in get recently modified companies API
SOLVE
What kind of answer should this be? We are using the recent companies endpoint to keep track of newly created/updated companies to not collect all companies each time.
Why is every single api working differently here? Honestly, if I get the modified companies, I do expect the same output as I would query them from the "all companies" endpoint.
This bs cause a big bug in our infrastructure as we do overwrite domains with only the single one that we get from the recent companies.