Getting contacts that are not associated with a list

We have lots of contacts in our application that are not associated with any list. Even though they are not associated with a list, we still would like to be able to access them through the API but there does not seem to be any way to do that. I’ve tried adding filters[listid] = 0 without any luck. I’ve also tried with ‘all’, ‘any’, -1, -2, and ‘none’. I’ve also tried adding all those values to an ids variable with no luck as well. Anyone have a solution?

1 Like

Hey @sync2crm1,

I just tried this myself and couldn’t return contacts not on a list either, so I am checking with our API specialists and will get back to you.

Try going to the contacts tab
Select from the dropdown filter for “List” None

My only concern is that you may have people who are on “No List” who have unsubscribed. I’d consider removing the unsubscribes if possible.

Hopefully that helps.

Leona

Hey all,

Biannca here from our CX team, sorry we missed this when it was originally published and didn’t get back to you.

In the spirit of providing insight on this question, we have updated our API version to v3 and this endpoint should return contacts “not on any lists” >
https://developers.activecampaign.com/reference/list-all-contacts.

Here’s an example of what the endpoint can look like: https://youraccountname.api-us1.com//api/3/contacts?listid=-2

Please don’t hesitate to reply back out or email us at help@activecampaign.com if you have any further questions.