# API integration

> API integration is the work of connecting two or more software systems through their APIs so that data and actions flow between them automatically, for example syncing orders to accounting or sending CRM records to an AI model.

Also called: system integration, software integration, third-party integration, AI API integration. Category: Agents and automation. Source: https://aibuildindex.com/glossary/api-integration

## In the index

- AI API integration: median $2,500, middle half $500 to $6,400, 1,993 priced briefs (https://aibuildindex.com/cost/ai-api-integration)
- API integration: median $2,500, middle half $500 to $7,680, 11,407 priced briefs (https://aibuildindex.com/skills/api-integration)
- CRM integration: median $2,160, middle half $450 to $9,000, 183 priced briefs (https://aibuildindex.com/skills/crm-integration)

API integration is what makes separate tools behave like one system. An order placed in the shop appears in the warehouse system, the invoice is raised in accounting, and the customer record in the CRM is updated, all without re-typing. In AI builds it is also how a language model is wired into an existing product or process. For a business buyer integration is often most of the work in an AI project, since the model is only useful once it can read and write the right data.

## How it works

An integration typically involves:

- **Authentication.** Getting secure access to each system, through API keys or [OAuth](https://aibuildindex.com/glossary/oauth).
- **Data mapping.** Matching fields between systems, which rarely line up neatly: one system's "account" is another's "company", dates and currencies use different formats, and IDs need cross-referencing.
- **Sync logic.** Deciding which system is the source of truth for each field, whether data flows one way or both, and how often.
- **Event handling.** Reacting to changes through [webhooks](https://aibuildindex.com/glossary/webhook) or polling.
- **Failure handling.** Retries, logging and alerts for when a call fails. See [error handling](https://aibuildindex.com/glossary/error-handling).

Integrations are built either on an integration platform, such as Zapier, Make, n8n or an enterprise [iPaaS](https://aibuildindex.com/glossary/ipaas), or in custom code. A common AI example: a sales team wants call summaries in its CRM. The integration receives the recording from the meeting tool, sends it for transcription and summarisation by an AI model, matches the call to the right deal in the CRM through its [API](https://aibuildindex.com/glossary/api), and writes the summary and next steps to that record.

## What it means for cost

Integration quotes are driven by:

- **Number and quality of systems.** Each API has its own quirks; older or poorly documented ones take much longer.
- **Two-way sync.** Keeping two systems consistent in both directions, with conflict rules, is far harder than one-way flow.
- **Data volume and history.** Back-filling years of records hits rate limits and needs batching.
- **Upkeep.** APIs change, credentials expire and vendors deprecate features, so integrations need ongoing maintenance.

Ask a builder which system owns each piece of data, how failures will surface, and who maintains the integration after handover. Live figures are on the [AI API integration cost page](https://aibuildindex.com/cost/ai-api-integration).

## Common questions

### Should I use an integration platform or custom code?

Platforms are faster for standard apps and simple flows, and easier for non-developers to adjust. Custom code suits complex logic, high volumes, unusual APIs or strict control over data and cost. Many businesses use both.

### Why do integrations break?

Common causes are a vendor changing its API, an expired credential, a renamed field, hitting a rate limit, or unexpected data such as a missing value. Good logging and alerts turn these from silent failures into quick fixes.

## Related terms

- [API](https://aibuildindex.com/glossary/api): An API, or application programming interface, is a defined way for one piece of software to request data or actions from another, such as fetching a customer record, sending a message or calling an AI model, without a person using a screen.
- [REST API](https://aibuildindex.com/glossary/rest-api): A REST API is a web API that follows the REST style, exposing data as resources at URLs and using standard HTTP methods such as GET, POST, PUT and DELETE to read and change them, usually exchanging data as JSON.
- [Webhook](https://aibuildindex.com/glossary/webhook): A webhook is an automatic message one system sends to another over the web when an event happens, such as a payment succeeding or a form being submitted, so the receiving system can react immediately without repeatedly checking for changes.
- [OAuth](https://aibuildindex.com/glossary/oauth): OAuth is an open standard that lets a user give an application limited access to their account on another service, such as reading their calendar or CRM, without sharing their password, by issuing scoped and revocable access tokens.
- [iPaaS (integration platform as a service)](https://aibuildindex.com/glossary/ipaas): iPaaS, or integration platform as a service, is a cloud platform for building, running and monitoring integrations between applications, offering prebuilt connectors, data mapping, workflow logic and central management in one hosted service.
- [Error handling and retries](https://aibuildindex.com/glossary/error-handling): Error handling and retries are the parts of an automation or AI system that detect failed steps, try them again where that is safe, and report or park the work that still fails, so problems are noticed rather than silently lost.
