concept secure api in category api

This is an excerpt from Manning's book The Design of Web APIs.
You must at least have a basic understanding of API security in order to design secure APIs and communicate efficiently with the people involved in their creation. An entire book, if not several, could be written about this topic; the aim of this chapter is only to give an overview without providing details about the actual implementation of API security. Books such as OAuth 2 in Action, written by Justin Richer and Antonio Sanso, or API Security in Action, written by Neil Madden, both published by Manning (https://www.manning.com/books/oauth-2-in-action and https://www.manning.com/books/api-security-in-action, respectively), provide more detailed information about this topic. While this discussion will obviously be far from complete, it should be sufficient to help you understand how API designers can create APIs that are secure by design. Figure 8.1 zooms in on an API call from a security perspective to illustrate where API security and API design collide.