add get group api