Api for importing