More than that, there may be a whole stack of software components between your API and your users. In this sense, quite a lot of software is written for computers and not other humans (or, your users are other software devs).
This is to say, "all software is written for humans" is too general to be useful - the important issues are all in the details.