API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other. Each time you use an app like Facebook, send an instant message, or check the weather on your phone, you're using an API.
How it works
The user initiates an API call that tells the application to do something, then the application will use an API to ask the web server to do something.
The API is the middleman between the application and the web server

1.
e-client calls the Personalization API which, primarily, returns product recommendations or content.
2.
The client sends the API a request containing information about the user and the order..
3.
The Optimizely Personalization API returns a list of recommended products.
4.
Make you data private