List created without userID even when the user id is supplied

Hi,

After creating a list via APIv3 the list doesn’t appear in the Lists section of the Web interface.
It does appear in contacts and it is possible to select this list for filtering.

When I created a list through the web, and then listed all lists via API I can see that my list doesn’t have user and userid is 0 despite the fact that I have defined user then during next attemp userid.

I have also tried to assign this list to the group of admins but this didn’t help either.

– UPDATE –
When I use /listGroups/bulkUpdate I am actually able to assign a list to the group but not with /listGroups

Can you please advise where the issue can be?

Thanks.

Hey expocart,

Biannca here from our CX team, sorry we missed this when it was originally published.

In the spirit of providing insight on this question, when creating a new list via API with /api/3/lists you need to associate the list to list permissions (endpoint /api/3/listGroups) otherwise it won’t show in the UI (it’s essentially a 2 part call).

Here’s the documentation for the calls:
https://developers.activecampaign.com/reference/create-new-list
https://developers.activecampaign.com/reference/create-a-list-group-permission

Please don’t hesitate to reply back out if you have any further questions.