HubSpot Ideas

mmaddiona

Hubspot API: add associations to search API

Why does Hubspot API not allow retrieving associations while doing any search API?

 

Use case: I need to get new emails since my last sync.

 

Using a Search API I can filter by my last sync date.
If I get 100 new emails but don't know which contacts/companies these emails are associated with, I need 100 more GET queries (one for each email ID) to obtain association info related to these emails.

While in a GET request I can obtain emails and their associations, but I can't filter by date, so I have to retrieve ALL old emails (that could be thousands).

For this use case, which I think is a common situation among Hubspot developers, I believe that API could be improved a lot!

Are you going to evaluate this feature that could allow external apps to reduce a lot of API calls?
Is there any other way that I am not considering?

1 Reply
dmydlarz
Participant

I support this feature requests.

My use-case is to Search for cetain objects, and fetch their associated objects IDs.
For instance: search for contacts, and fetch their associated companies, notes, tasks IDs.