Definition
An API is the set of rules two pieces of software use to talk to each other automatically, without a person copying data by hand.

Why it matters

Without APIs, every tool is an island. A form builder does not know the CRM exists, and the CRM does not know a payment was made. A person fills the gap by copying data by hand, which is slow and error-prone. With APIs, a form submission can create a contact, start an email sequence and book a call within seconds.

For anyone building with AI, APIs are how an agent acts in the world. When an AI assistant sends an email or updates a deal, it is calling an API.

How to apply it

  • Find the "API reference" in the tool's documentation, and check that the action you need is listed.
  • Try no-code tools first. Zapier, Make and n8n call APIs for you.
  • Store keys in a password manager or environment settings, never in a page, a document or a chat.
  • Give each key the narrowest permissions it needs.
  • Check the rate limit, which caps requests per minute.

What it is

Think of a restaurant. The menu lists what can be ordered and how, and the kitchen does the work behind the scenes. An API is the menu for a piece of software. It lists the requests another program may make, what to send with each one and what comes back. For instance, an accounting tool's API might allow "create an invoice for this customer" or "list the unpaid invoices". The answer usually comes back as structured text called JSON.

Most APIs need a key: a long secret string that identifies the caller and says what it is allowed to do.

Common mistakes

  • Pasting a live key into code that is later published.
  • Assuming an API can do everything the app's screen can. Some features are not exposed.
  • Not planning for the day the API is down or returns an error.

API versus webhook

With an API, your system asks the other one. With a webhook, the other system tells yours the moment something happens. Most useful connections use both.

Worked example

Suppose a twelve-person consultancy takes enquiries through a web form, then copies each one into its CRM and books a call by hand. An API is the rule that lets the form send each submission straight to the CRM without a person in between. Say the form tool's API accepts a new submission and returns a contact ID. The team uses Make to receive that submission, create the contact in the CRM and add a row to a tracker. Before this, copying a lead took about five minutes and sometimes lost a phone number. Now the lead arrives within seconds, complete. In this example, the team checks the API reference first to confirm the action exists, and it stores the key in the scenario's settings rather than in the form itself.

Tools in the example

Some links are affiliate links: we may earn a commission at no cost to you. It never decides a ranking. How we work with partners

  1. Article

    Integration

    The working connection built with one or more APIs.

  2. Article

    API integration

    Connecting two tools through their APIs.

  3. Article

    MCP (Model Context Protocol)

    A standard way to give AI agents access to tools.

  4. Article

    Function calling

    How a model asks for an API call to be made.