Retrieving Associated IDs via HubSpot APIv3 SearchAPI
Hello!
I'm a Data Engineer, responsible for integrating HubSpot with our company's data warehouse.
I'm currently working on transitioning our integration from APIv1 to APIv3 and have encountered a significant issue.
At present, it's not possible to retrieve associated IDs for records obtained via the SearchAPI.
For instance, to fetch recently modified deals, I call the Deal SearchAPI with appropriate filters. However, I do not receive data about associated contact IDs for the located deals.
In theory, one could construct a flow involving additional API calls to the AssociationAPI, but this approach is quota-consuming and not the optimal solution.
It would be beneficial to introduce a feature similar to the one available in the '/crm/v3/objects/deals endpoint'. With this endpoint, we can specify a parameter with comma-separated list of object types to retrieve associated IDs for.