finish apis