Integration Interfaces
An integration interface is a way a system offers its functions or data to others: an API, a topic, a queue, a file drop. Interfaces are the building blocks of integration. The systems inventory lists the systems, this page lists what they offer, and the integrations inventory records who actually uses it.
Interfaces as building blocks
TOGAF describes a building block as "a package of functionality defined to meet the business needs across an organization". Integration interfaces work exactly like that in solution design:
- A solution design starts by looking at the interfaces that already exist. If the customer master already publishes
CustomerUpdatedevents, a new system subscribes to them instead of building another export. - The catalog of interfaces shapes what designs are possible, and how quickly. A landscape with well-documented public APIs and events allows new solutions to be assembled. A landscape without them forces every design to start with point-to-point integration work.
- New interfaces designed for one solution become building blocks for the next ones, much like promoted decisions.
This is why interfaces are recorded on their own, independent of their consumers. An interface with no consumers yet is still a building block.
Types of interfaces
Interfaces come in three broad families. All of them belong in the catalog, not only the APIs.
Synchronous APIs
The consumer calls the provider and waits for the answer.
| Style | Typical use | Contract format |
|---|---|---|
| REST over HTTP | Most business APIs, public and internal | OpenAPI |
| GraphQL | Flexible queries for front ends that combine data from several sources | GraphQL schema |
| gRPC | Fast, strongly typed calls between internal services | Protocol Buffers |
| SOAP | Older enterprise and partner integrations | WSDL |
Synchronous APIs are the right choice when the consumer needs the current state or an immediate answer. They are designed, published and secured through API management, offered as a platform capability.
Asynchronous messaging and events
The provider publishes a message, and consumers process it when they are ready. Producer and consumers do not need to be available at the same time.
| Style | Typical use | Contract format |
|---|---|---|
| Event streams, for example Kafka topics | Business events that several consumers react to: OrderPlaced, CustomerUpdated | AsyncAPI, schemas in a schema registry (Avro, JSON Schema, Protobuf) |
| Message queues, for example Amazon SQS or RabbitMQ | Commands and work items for one consumer, with retries | AsyncAPI, message schemas |
| Webhooks | Notifying external partners or SaaS products about changes | OpenAPI (callbacks) or the provider's documentation |
AsyncAPI does for event-driven interfaces what OpenAPI does for REST: it describes the channels, such as topics or queues, the messages and their schemas, in a machine-readable format. See Event-Driven Architecture for the concepts.
Only public events are integration interfaces. Private events, used inside one system, stay internal to it. See public contracts and private exchanges.
Data and file exchange
Data is also exchanged in bulk, as files or tables, often on a schedule.
| Style | Typical use | Contract |
|---|---|---|
| Files in object storage, for example Amazon S3 | Bulk exports and imports, exchange with partners, input to a data lake. An event notification can signal that a new file has arrived. | File format and schema (CSV, JSON, Parquet), naming and folder conventions, delivery schedule |
| SFTP file transfer | Partners and legacy systems | File layout specification |
| Change data capture (CDC) | Streaming database changes into Kafka or a data lake | Source table schemas |
| Data products | Curated data sets for analytics and AI | Data contract |
| Shared database | Two systems reading and writing the same tables | None: the schema itself is the contract |
File transfer is one of the oldest integration styles and still very common, especially with partners. It is easy to forget, because nobody sees it as an "API". Yet a renamed column in a nightly file can break a downstream process just as badly as a changed REST endpoint.
A shared database is the interface to avoid between systems owned by different teams: neither side can change its schema without breaking the other. If one exists, record it, so that the coupling is visible and can be planned away.
For guidance on when to prefer which family, see Integration patterns in Organizing Legacy Spaghetti.
What to record
Each interface is recorded once, with the system that provides it:
| Attribute | Example |
|---|---|
| Name and description | Order events: published when an order is placed, changed or cancelled |
| Type | REST API, Kafka topic, SQS queue, S3 file drop, SFTP, CDC stream, shared database |
| Provider | The system and team that own the interface |
| Data entities | The data entities it exposes, for example Order and Customer |
| Classification | The most sensitive data it exposes, see Data Classification |
| Contract | A link to the OpenAPI or AsyncAPI definition, schema or file specification |
| Visibility | Public (for other teams or partners) or private (within one system) |
| Lifecycle status | Planned, active, deprecated or retired, as for systems |
Contracts are best kept as code, in the provider's repository, and published to the catalog by the pipeline. In ArchiMate, interfaces are modeled as Application Interfaces. In TOGAF, they are listed in the Interface Catalog. In Backstage, an API entity can describe OpenAPI, AsyncAPI, GraphQL and gRPC interfaces.
Questions the interface catalog can answer
- Is there already an interface that provides customer data, before a team builds a new one?
- Which interfaces does a system offer, and which of them are public?
- Which interfaces expose personal data?
- Which interfaces are deprecated, and what replaces them?
- Which systems still offer only files or a shared database?