In brief
TM Forum Open APIs are a set of several dozen standardized REST interfaces that a telecom operator's systems use to exchange data about products, orders, services, customers and bills. Each API has a number (for example TMF620 for the product catalog, TMF622 for orders), a description in OpenAPI format and the same event pattern. As a result, CRM, catalog, order management and billing talk under one contract, and replacing one system does not mean rewriting every integration.
What TM Forum Open APIs are
TM Forum is an industry association of telecom operators and system vendors. Among other things it publishes the Open APIs, interface specifications for the typical BSS and OSS domains. The specifications are released under the Apache 2.0 license, and a mirror with the Swagger and OpenAPI files sits in TM Forum's public GitHub repository. Version 4 APIs are described in Swagger 2.0, version 5 in OpenAPI 3.
Open APIs are not a ready-made system. They are a contract: which resources exist, what fields they have, which states and which operations. An operator can buy a system that exposes them or put an Open API compliant layer on top of its own system. The difference between BSS and OSS is covered in the article on BSS and OSS systems.
The key interfaces and where they sit in the process
Operators rarely adopt every API at once. They usually start with the ones that cover the path from an offer to a working service.
| API | Name | What it is for |
|---|---|---|
| TMF620 | Product Catalog Management | offerings, product specifications, prices, categories |
| TMF622 | Product Ordering | the customer order and its items |
| TMF641 | Service Ordering | orders for technical services after the product order is decomposed |
| TMF640 | Service Activation and Configuration | starting and configuring a service in the network |
| TMF638 | Service Inventory | the state of services installed for a customer |
| TMF637 | Product Inventory | the products a customer has |
| TMF678 | Customer Bill Management | customer bills and invoices |
| TMF621 | Trouble Ticket | problem tickets |
| TMF642 | Alarm Management | alarms from the network and systems |
We return to the catalog in the article on the operator product catalog, and to the path an order takes through the network in the piece on service activation and provisioning.
How each API is built: resources, states, events
Open APIs share a common skeleton, so once you know one you read the next one quickly.
- REST resources. TMF620 version 4.1 exposes, among others, `catalog`, `category`, `productOffering`, `productSpecification` and `productOfferingPrice`. Operations are the usual GET, POST, PATCH and DELETE with filtering by field.
- Lifecycle as a state field. An order in TMF622 has states such as `acknowledged`, `inProgress`, `held`, `pending`, `completed`, `failed`, `partial` and `cancelled`. Order items carry the actions `add`, `modify`, `delete` and `noChange`. State and action are part of the contract, so every system reads them the same way.
- Events through hub and listener. A system interested in changes registers a subscription at `/hub`, and the provider sends events to the callback address, for example `catalogStateChangeEvent`. A separate API, TMF688, describes event publishing at scale.
- Extensions. The `@type`, `@baseType` and `@schemaLocation` fields let you add your own attributes without breaking the specification.
That last point matters in practice. Every operator has something of its own: a loyalty field, a campaign code, an internal point of sale ID. Extending through `@type` leaves the standard fields untouched and describes the extra ones in a separate schema.
The SID data model and consistent terms
Underneath the Open APIs is TM Forum's information model, SID (the Information Framework). Among other things it separates product, service and resource, and a product offering from a product specification. The offering is what the customer buys in a given channel at a given price. The specification is the technical description of what they get. A service is something that runs in the network, and a resource is a physical or logical element: a number, a SIM card, a port.
This distinction settles a common project argument: is “600 Mbps internet with a router” one product or three things? In SID it is one offering that references a product specification, which references service specifications, which in turn reference resources. Once teams adopt these terms, it is easier to agree which system owns which piece of data.
How to adopt Open APIs in existing systems
An operator with a twenty-year-old BSS does not replace it for the sake of standards compliance. More often the change is gradual:
- A facade over the old system. An integration layer exposes TMF622 externally and calls the old interfaces internally. Sales channels move to the new contract before the system underneath changes.
- New systems compliant from day one. When buying a catalog or order management system, support for specific APIs and versions goes into the tender specification.
- Term mapping. A glossary stating how the “tariff” field in the old system maps to `productOfferingPrice` saves weeks of argument.
- Versioning. Decide which API version you support (4 or 5) and how long you will keep the older one, because partners will not switch in a single day.
Choosing between REST and other integration styles is covered in the article REST, GraphQL or gRPC.
Conformance and contract testing
Open API compliance has to be tested, not declared. TM Forum provides the API Test Engine (Static Conformance Test Kit), which compares your Swagger definition with the official one. It is a static check: it shows missing fields and changed types and names.
The second layer is behavior testing:
- contract tests between the API consumer and provider, described in the article on API contract testing;
- state transition tests for orders, including the `held`, `failed` and `partial` paths, which happen more often in production than in a demo;
- event tests: does the subscriber get an event after every state change, what happens when the callback address does not respond, and do events arrive out of order;
- extension tests: does a client that does not know your `@type` still process the standard fields correctly.
Tests organized this way lend themselves to automation on one platform shared by many teams, as in the TestFactory scenario for an operator.
Questions and answers
Are TM Forum Open APIs free?
The specifications are released under the Apache 2.0 license, and their Swagger and OpenAPI files sit in TM Forum's public GitHub repository, so you can read and use them at no cost. What is paid is TM Forum membership and some of the organization's materials and programs. You do not need membership to implement the interfaces themselves.
Which Open API should you start with?
Usually TMF620 (product catalog) and TMF622 (product ordering), because every sale and every channel goes through them. Once those two work, operators add TMF641 and TMF640 on the fulfillment side and TMF638 and TMF637 for service state. Still, it is worth deriving the order from wherever your integrations break most often today.
Does adopting Open APIs mean replacing BSS systems?
No. The most common pattern is a facade: an integration layer exposes the standard API and calls existing systems underneath. Sales channels and partners move to the new contract right away, and internal systems are replaced later, one at a time. A facade does, however, need good term mapping and testing, because field translation errors are hard to spot inside it.
How does TMF622 differ from TMF641?
TMF622 describes the product order, meaning what the customer bought: the offering, price, address and the action on each item. TMF641 describes the order for technical services that results from decomposing the product order into elements to start in the network. One product order can produce several service orders, for example for the line, the router and TV.