corrected Groups api call