API how systems talk.

An API is the door through which one program talks to another. Here is what it is for, with business examples, and why it is worth asking whether a system has one before you buy it.

DefinitionAn API (application programming interface) is an agreed set of rules through which one program can fetch data from another or ask it to carry out actions, without a person clicking through. Thanks to APIs, a website form saves a contact in the CRM, an online shop creates an invoice in the accounting software and an AI assistant checks an order’s status.

How does an API work?

One program sends another a request in an agreed format, and the second sends back a reply. It is like a service counter: you do not walk into the back office, you hand in a request on the right form and get an answer. The system’s maker decides which requests it accepts and who may make them.

Access to an API usually requires a key, a kind of password for a program. The key defines what that program may do: for example, read orders but not change prices.

What is an API useful for in a business?

For letting data move between systems on its own, instead of being retyped. Examples:

  • An enquiry from the website form goes straight into the CRM as a new contact.
  • A paid order in the online shop creates an invoice in the accounting software.
  • Stock levels from the company’s system update in the online shop.
  • A website chatbot checks a customer’s order status in the company’s system.

Automation tools such as Make and Zapier use APIs too: their ready-made building blocks are, in practice, a convenient layer over the APIs of popular apps.

What to ask before you buy a new system

Whether it has an API and what it can do. A system with no API, or a very limited one, locks your data inside it. Every connection to another program then means exporting files, copying by hand or costly workarounds.

  • Is the API included in your plan? Sometimes it is only in a higher tier.
  • Is there public documentation? It is a sign the vendor takes integrations seriously.
  • Are there limits? For example, the number of requests per minute or per day.

Which processes are worth connecting first is covered in the article on where to start with automation.

Frequently asked questions

What is the difference between an API and a webhook?

With an API, one program asks another for data or asks it to do something whenever it needs to. A webhook works the other way round: a system sends a notification by itself when something happens, such as a payment arriving.

Is opening up an API safe?

Yes, as long as access is limited by keys with the smallest permissions needed, the keys are stored securely and unused ones are switched off.

See also

Sources

From the blog

Before you decide,
read this.

Last updated:

Contact

Let’s talk.

Write a few sentences about what you want to build. I reply within 24 hours.

Your details are used only to reply. More in the privacy policy.