Update mock api to use group_invitation type