APIs allow different software programs to connect to each other, enabling the exchange of information (such as survey or customer data) or requests for action (such as triggering a survey).
Think of an API like two bits of Lego - if the body of the bricks are individual pieces of software, then the API is the equivalent of the studs and slots that allow them to connect to each other.