updated API to list wittls for a given list