forword api response to save function