group setting to api