API Delivery Model
API Manager is where the services of an environment are published, routed and protected as APIs. It works with gateways, and asks for no configuration file.

Why a gateway in front of an integration
An integration that exposes HTTP is reachable only inside its environment. To be called from elsewhere it needs an address, TLS, and a place to decide who may call it. Doing that in each integration would mean certificates, authentication and rate limiting written into every route.
A gateway does it once, in front. The integration keeps to business logic; the gateway carries the address, the certificate and the policies. The same integration can be published on several gateways (public for partners, internal for other teams) without changing a line of it.
Object Model
API Manager works with a handful of objects. A request crosses them in this order, so knowing them tells you where to look when something does not answer.
| What it is | |
|---|---|
| Gateway | The entry point of traffic for an environment, with its access points |
| API instance | One service published on a gateway, at an address |
| Upstream | A service outside the environment that an API can route to |
| Policy | A rule on who may call an API, how fast, and what happens when its service is slow |
| Auth Gateway | The identity provider of the environment, compatible with OpenID Connect, that issues JWT access tokens to the applications calling your APIs |
| Domain | A domain name of your own, for the addresses of your APIs |
Publish a first API
You need a service to publish, such as an integration that is running, for example.
- Create a gateway. Choose its exposure (public, private or internal) and add an HTTPS access point with a TLS certificate.
- Create an API instance. Choose the gateway and its access point, give the host name of the API, and choose the service that answers.
- Deploy, then call the address.
The API is then open to everyone: protect it before giving the address out.
A new API instance has no authentication. On a public gateway it answers anyone as soon as its host name resolves. Add its security policy before you give the address out.
Authentication options
An API is open until a security policy says otherwise. Which rule to use depends on who calls it.
| Who calls | Use |
|---|---|
| A few known applications | API keys |
| Applications, at scale | Tokens (JWT) |
| People, in a browser | Sign-in with an identity provider |
| Anything, by rules of your own | External authentication |
The tutorial goes through each of them on the same example.
Responsibilities per application
- API Manager publishes the API and applies its policies at the gateway.
- An Auth Gateway, the identity provider of the environment, issues the JWT those policies check.
- Access Manager decides which users may manage the API and its gateway, a separate matter from who may call it.
What a gateway is for
A gateway is the single place where traffic enters an environment. It owns three things your integrations should not have to: a network address reachable from the right place, the TLS certificates, and the enforcement of policies.
One gateway can serve many APIs. You create a second one when traffic must be separated: public and internal APIs on different load balancers, a partner with its own certificate and limits, or a workload whose traffic must not compete with the rest.
Start with one public gateway and, if needed, one internal. Each gateway has its own load balancer and its own instances: more gateways means more to pay for and to watch.
What an API instance decides
An API instance is the link between an address and a service. It answers three questions: where the API is reached (a gateway, an access point, a host name), what answers (an integration or an upstream) and under which rules (the policies attached to it).
It contains no logic. Transforming a payload or calling two systems is the work of the integration behind it; the API instance only routes and enforces.
An API instance routes to one service. To publish two integrations under one host name, create two API instances on that host name with different paths.
Why upstreams exist
An API instance normally routes to a service of the environment, usually an integration. Sometimes the service lives elsewhere: a partner API, a legacy system, a SaaS. You still want it behind your gateway, to give it your host name, your authentication and your rate limits.
An upstream declares that outside destination once. API instances then route to it exactly as they route to an integration, and several APIs can share the same upstream.
Publishing a partner API through an upstream lets you hide its real address and credentials from your callers, apply your own authentication, and change provider later without changing the address your callers use.