Last updated Reading time: 3 min.

API

An API, short for application programming interface, defines how one piece of software can request information or ask another to perform an action.

What is an API?

When a booking app shows available appointments from another system, it can use an API to ask for those times. The API defines what the app needs to send, such as a date and location, and what it can expect back. The booking app can then display the results in its own interface.

An API defines what software can ask for. The integration decides when to ask and what to do with the answer.

How does a web API work?

A web API lets software send requests over a network. The request names the action and supplies any information needed to carry it out. The response might contain the requested data, confirm that an action succeeded or explain why it could not be completed. Not every API works over the web. Software can also use APIs to interact with a browser or another part of the same application.

A web API can support tasks such as:

  • Retrieving information: Check whether a document has been signed.
  • Starting an action: Create a signing request from another system.
  • Passing data between systems: Retrieve a completed document so it can be saved in the system where the request began.

What is the difference between an API and an integration?

An API makes specific data or actions available to other software. An integration connects systems to carry out a particular task. Two businesses can use the same API in different ways. One might send employment contracts from its HR system, while another might use the same signing service to handle supplier agreements.

An integration can be built directly or set up through a tool such as Zapier when it supports the actions the business needs.

An API example from digital signing

Suppose an HR team has approved an employment contract. Its HR system can use Addo API to send the contract for signature, check its progress and retrieve the signed copy. The team can then find the signed contract in the HR system, provided the integration has been set up to save it there.

Frequently asked questions

What is a REST API?

A REST API follows a style for organising requests around resources, such as documents or customers. In a web API, standard web methods can be used to retrieve or change those resources.

Does an API need an API key?

It depends on the API. Some require an API key or another credential before they accept requests. Others provide access to public information without requiring one.

Do you need to write code to use an API?

Custom integrations usually involve code. A ready-made connector can let you set up supported actions without writing the code yourself.

Sources and further reading