Below are some scenarios where we need API:
- Imagine there is an e-commerce company, that provides an e-commerce platform where people can come and buy their products, so, to do that e-commerce company needs to integrate their platform with some payment platforms. So, to accomplish this they need API from each payment platform.
- Salesforce App is there where you get lots of leads data. Now, there is a company that wants lead data from your Salesforce CRM. So, to access your leads every time, then You need to provide them with API to access your data.