With protocols and services, computers can discuss together. APIs allow developers to communicate more easily with services.
API is an acronym for Applications Programming Interface. An API is a programming interface that allows you to "plug in" to an application to exchange data. An API is opened and proposed by the program owner. APIs are used in different areas of digital marketing.
SOAP (former acronym for Simple Object Access Protocol) is an object-oriented RPC protocol built on XML. It allows the transmission of messages between remote objects, which means that it allows an object to invoke methods of objects physically located on another server. The transfer is most often done using the HTTP protocol, but can also be done by another protocol, such as SMTP.
REST (Representational State Transfer) is an architecture style that is based on the HTTP protocol: A resource (via its unique URI) is accessed to perform various operations (GET read, POST write, PUT modification, DELETE deletion). These operations are natively supported by HTTP.