Support for API retrieval of groups