In Search API (described here: Search the CRM - HubSpot docs) is it possible to fetch associations of objects (at least their IDs)?
Let’s say I want to Search for contacts, but in the response properties I want to get their associations as well (notes, tasks, companies).
Is such a query possible at all?
The one I tried, doesn’t return associations at all.
I’m not sure whether you can pull associations in the same API call. Would it be work to split the API calls, so that Search pulls the record IDs of the object you want, and then you use another API call to pull associations?
Hey @zachh I have a following question.
When I pull IDs via Search API, I would like to fetch obejcts details with their associations in a single call.
Would that be possible?
I’m exploring BATCH API, but regardless what docs says, I’m not getting associations in a response at all.
(Docs: Accounts Dashboard | HubSpot says that for Batch API I can put “associations” as query param.)
But I tried this, and also putting it into the body requests, and associations are not returned at all.