AI glossary

What is an API?

An API (Application Programming Interface) is a defined interface through which software systems communicate with each other. It specifies which requests a program may make, in which format data is passed and which responses come back. This allows one application to use functions or data of another without knowing its internal structure.

Also known as: Application Programming Interface, Programming interface, REST API, Web API

Last updated: December 2026

How it works

On the web, REST APIs are the most common type. A client sends an HTTP request to an address, the endpoint, using methods such as GET (read data), POST (create), PUT or PATCH (update) and DELETE (remove). The response contains a status code, such as 200 for success or 404 for “not found”, and usually data in JSON format. The available endpoints and fields are listed in the API documentation, often written to the OpenAPI standard.

To keep data from being open to anyone, APIs require authentication, for example an API key or an OAuth 2.0 access token. Providers also often limit the number of requests per time period (rate limit) and version their interfaces so that changes do not silently break existing integrations.

With an API the client asks actively, whereas a webhook reports events on its own. APIs matter twice for AI applications: language models themselves are usually accessed via API, and an AI agent uses APIs as tools to check appointments, look up customer data or create tickets during a conversation.

A practical example

A hair salon with four chairs manages bookings in online scheduling software. A customer calls and asks for an appointment on Saturday morning. The digital phone assistant sends an API request to the scheduling software, receives the free slots and offers two of them. Once the customer agrees, it creates the booking with a second request.

What matters for the salon is that the scheduling software offers a documented API and that the assistant can use it. The page on calendar synchronisation shows what such connections to calendars look like.

What businesses should look out for

  • Before choosing software, check whether it has a publicly documented API and which functions it exposes.
  • Issue API keys with the narrowest possible permissions and never store them in plain text in documents or chats.
  • Clarify rate limits and any per-request costs before automating workflows.
  • For interfaces that handle personal data, check server location, encryption and a data processing agreement.
  • Plan for version changes: ask how long older API versions remain supported.

Frequently asked questions

What does API stand for?

API stands for Application Programming Interface. It refers to a defined way for programs to exchange data with each other.

What is a REST API?

A REST API follows the Representational State Transfer architectural style. Resources such as customers or appointments have their own addresses and are read, created, updated or deleted with HTTP methods. REST is the most widespread approach for APIs on the web.

What is an API key?

An API key is a long string that a program uses to identify itself to an API. It works much like a password, so it should be protected accordingly and replaced immediately if misuse is suspected.

Does an AI assistant need an API?

Not necessarily for answering questions from a knowledge base. As soon as the assistant is meant to book appointments, write data to a CRM or check order status, it needs a connection to those systems, usually through an API.

Related terms

  • Webhook

    An automatic HTTP message that one system sends to another the moment an event happens, such as a new enquiry.

  • AI agent

    AI system that breaks a goal into steps and carries them out on its own using connected tools such as calendars, CRMs or email.

  • WhatsApp Business API

    Meta’s programming interface that lets businesses connect WhatsApp to software such as chatbots, CRMs or helpdesks and send messages automatically.

  • Large language model (LLM)

    AI model trained on very large amounts of text to understand and generate language; the basis of modern chatbots and AI agents.

All terms in the AI glossary

Cite this definition

Want to explain this term on your website, in a presentation or in documentation? Feel free to link to this entry. You can copy the HTML code directly: