add api function to get group title