Application Programming Interface (API)
Also known as: API
An application programming interface (API) defines how one software system can request data or actions from another.
An application programming interface (API) is a set of rules that lets software work with another system. The rules define which requests a program can send. They also define the data it must send and what it gets back. An API can work inside one business or connect separate services.
How an application programming interface works
A web API often has a named address for each task. A program sends a request to that address. The server checks the request, does the work and sends a response. These steps let software share data without a person copying it by hand.
The OpenAPI Initiative offers a standard way to describe HTTP APIs. This helps teams learn which requests a service supports. The written rules are separate from the code that enforces them.
Example in healthcare
A patient portal could use an API to get upcoming visits. The portal sends a request to the clinic's booking system. That system should return only visits the caller may see. Changing a patient ID must not expose someone else's records.
What teams should check
An API is a path into a service. It does not make data sharing safe by itself. Define who can connect and what each caller may do. Test requests that should fail as well as those that should work.
Review access control for each task and each record. Keep a list of old versions and background jobs too. Assign an owner who can fix faults and retire unused access paths. A service that staff no longer use may still accept API requests.