Implemented API to retrieve group data