Hello,
I am currently working on the integration of the Contact endpoint and I have a question regarding the accounts field, which is defined as a linkMultiple with the following attributes:
When I perform a bulk GET request on:
{siteUrl}/api/v1/Contact
the response only includes the primary account name, but it does not return the secondary or additional linked accounts.
To retrieve the full information, I need to make an additional request for each contact:
{siteUrl}/api/v1/Contact/{id}/accounts
In my case, I have around 5,000 contacts, so this means making 5,000 additional API calls just to retrieve the linked accounts information, which is quite expensive from a performance and rate-limit perspective. My questions are:
Any guidance or best practice for this scenario would be greatly appreciated.
Thank you in advance.

I am currently working on the integration of the Contact endpoint and I have a question regarding the accounts field, which is defined as a linkMultiple with the following attributes:
- accountsIds (string[])
- accountsNames (Record<string, string>)
- accountsColumns (Record<string, Record<string, string>>)
When I perform a bulk GET request on:
{siteUrl}/api/v1/Contact
the response only includes the primary account name, but it does not return the secondary or additional linked accounts.
To retrieve the full information, I need to make an additional request for each contact:
{siteUrl}/api/v1/Contact/{id}/accounts
In my case, I have around 5,000 contacts, so this means making 5,000 additional API calls just to retrieve the linked accounts information, which is quite expensive from a performance and rate-limit perspective. My questions are:
- Is there a way to include the full accounts (linkMultiple) data directly in the bulk Contact endpoint (/api/v1/Contact)?
- Is there any query parameter, expand option, or configuration that allows returning accountsIds, accountsNames, or accountsColumns in the bulk response?
- If not, is there any plan or recommended approach to avoid making one request per contact to retrieve linked accounts?
Any guidance or best practice for this scenario would be greatly appreciated.
Thank you in advance.

Comment