Making Rest API call

Have you enabled API logging?
If yes, you can find logs in /base/var/logs.

Hi xheni - Thanks for your reply.

It turned out that the problem was sitting in front of the computer - as I missed to delete the folder public_html/lists/base/var/cache

Now I am getting responses - Thanks for your support.

However - I am wondering now how to add a new subscriber to a specific list - at the moment it ends up at list ‘0’

2 Likes

@dhaude This is not yet supported unfortunately, see https://github.com/phpList/rest-api/issues/118

Uh - that are very bad news! So ‘adding a subscriber’ is currently a ‘useless’ API command.

Yes, the add subscriber to list action is critical functionality, and a high priority.

Adding a subscriber is not necessarily useless – you can add all subscribers who are not members of any list to a list of your choosing with two or three clicks, say just before you send your next campaign. But yes it would be more useful if the process was supported in a single API call. Of course you can add this functionality yourself via a Git pull request if you are so inclined.

1 Like