What is API integration?
API integration connects two or more apps through their APIs, so data and actions pass between them automatically. When a deal closes in your CRM, an integration can create the invoice in your billing system and post to Slack. Nobody retypes anything.
An API is the set of requests an app lets other software make. An integration is the working connection built on top: which calls to make, when, with what data, and what to do when one fails.
How does API integration work?
Take a closed deal.
- Something triggers it. A webhook from the CRM, a schedule, or a person starting it.
- The integration authenticates. It sends the stored key, token or OAuth credential with each call.
- It reads data. A request to the first app’s API returns the deal as JSON.
- It maps the fields. The CRM’s “amount” becomes the billing system’s “total,” and formats are converted.
- It writes to the second app. Another API call creates the invoice.
- It handles errors. Failed calls are retried, logged, or sent to a person.
What are the types of API integration?
- Point to point. One app calls another directly. Quick to build, and hard to manage once you have many of them.
- Through an integration platform. Calls run in one place, with shared credentials, monitoring and error handling. See integration platform and iPaaS.
- Event-driven. The source app sends a webhook when something changes, instead of being asked on a timer.
- Scheduled batch. A job pulls changes every hour or night and loads them in bulk.
- Embedded. A software vendor builds integrations into its own product for its customers.
What are examples of API integration?
- A new HubSpot lead is created in Salesforce and assigned to a rep.
- A paid Stripe invoice updates the customer’s status in the CRM.
- A support ticket opens a Jira issue and links the two.
- A new hire in the HR system gets accounts in Okta and Slack.
- An AI agent looks up an order in a store’s API and writes the answer back.
What is the difference between an API and an API integration?
An API is the door an app offers. An integration is the logic that walks through it: which doors, in what order, with which data. One API can sit behind many integrations.
What are the common problems?
- Authentication. Keys expire, OAuth tokens refresh, and every app does it a little differently.
- Rate limits. Most APIs cap calls per minute, so integrations need to slow down and retry.
- Changing APIs. A vendor changes a field or retires a version, and the integration breaks.
- Data mismatches. Two systems describe the same customer differently.
- Silent failures. Without logging and alerts, a broken integration looks like a quiet day.
API integration at Tray
In Tray iPaaS, an API integration is a workflow. Tray connects to 12,000+ apps, databases, APIs, and services, and every one is listed. Where an app has no ready-made connection, the HTTP connector calls any REST API, and the CDK builds your own connector from an OpenAPI spec. Tray holds the credentials, and every run is logged, so you can see what each call did.
Integrations run from a webhook, a schedule, or on demand. To offer your own endpoint to others, publish a workflow through API Management. To let an AI agent use an app, expose it as a governed MCP tool through Agent Gateway for MCP. For moving data at volume, see data integration.
For how teams connect an ERP to the rest of their stack, see ERP integration.