Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Get deeper attributes from insight-am/search endpoint

audun hilden April 4, 2025

I’m trying to fetch all Customer objects, and for each one, I need the email of the Primary Contact (which is a reference to another object).

Is there a way to do this in one API call? Or do I have to get the PrimaryContact key first, then do another request to fetch their email?

I know the aql/objects endpoint lets you do includeAttributesDeep=true, which gives you the referenced data — but it also dumps all the attributes, which I don’t want. I just need the email.

 

Here’s what I’m using right now:

rqCOcxF

bmrGtyE

(Image above have been simplified from the original request for clarity.)

0 answers

Suggest an answer

Log in or Sign up to answer