loading leads throw an api