Smarsh interview question

What are APIs and their uses??