In short
A door a piece of software builds for other programs, so they can read and write its data without a person clicking through screens. Most connect to business software through one.
An API, an application programming interface, is how one program talks to another. Your CRM has screens for people and an API for software. When an creates a contact or logs a call, it usually goes through that API, under a login made for the with only the permissions its job needs.

