UiPath interview question

What is the difference between RPA & APIs?