I worked with a team of developers who were totally confused by my attempt to call the thing we were creating a library or SDK and not an API. We built and released a JavaScript client library that talked to a proprietary server product. But if you were a customer, and you used it to build a JavaScript app, you would write code against the library’s API, right?
In the course of that discussion we definitely had some “what is an API” questions.