ActiveCampaign Forum

List all contacts with their custom fields v3 api

HI All,

2 questions, both using /contacts in v3 of the api.

How can i restrict the list of columns i get back?

How can i get custom fields in this list without a second query?

Thanks

Hi there,

You can utilize Side Loading for this purpose (found in the Schema section of the docs). Basically, just make a request and ?include=fieldValues

Good luck,

1 Like

Hi, thanks for this it really helped. The only field i can’t seem to get back is status.

I’m currently having to do a get for each status as the status column is not included in the return from /contacts

Any tips.

Thanks

?include=listRelationships should work. Status is a list-based variable.