UiPath Interview Question

Tell me about APIs vs RPA and if they can work together?