Hi IgorBrigadir,
Thank you for your response. I have tried all possible combinations with ids and slugs. Another clue which says it’s not my error is that I’m now getting two different error codes randomly. It’s either 112 or 25.
[code] => 112 [message] => You must specify either a list ID or a slug and owner. )
[code] => 25 [message] => Query parameters are missing. )
Just to double-check again, I reshuffled the API call to exactly what you suggested - using just the list_id and user_id. I’m getting the same errors.
Also, this worked a few months ago. In the meantime I was developing other functions and now when I came back to the Lists, I found that it has stopped working.
I can also see that this has now stopped working:
POST lists/members/create
List operations that are using GET, for example:
GET lists/list.json
are all working fine.
Other POST operations (the ones that are not related to lists) such as POST statuses/update are working fine.
Is it possible to check this on Twitter side? Otherwise it’s almost like I’ve wasted 2+ years of my life as I’ve been working on this full-time 
Thanks