Versioning

How to select the API version of a request with the api-version header

The facilioo API runs several API versions side by side, so you can adapt your integration to a new version at your own pace. An API version, e.g. 2.0, defines the contract of the endpoints, i.e. the structure of their requests and responses. Larger refactorings that change this structure, e.g. removed or restructured attributes, are introduced as a new API version.

Within an API version, we keep breaking changes to a minimum, and changes to the contract are rare. The business logic behind the endpoints evolves, though: validation can become stricter, access to entities can be restricted further, or your account may need an additional permission to access a resource. Every such change is listed under Breaking Changes in the Changelog, see Staying Up to Date for how we classify changes and how to get notified.

Selecting a Version

Send the API version in the api-version header of every request:

GET /api/units/123 HTTP/1.1
Host: api.facilioo.de
authorization: Bearer <access token>
api-version: 2.0

Without the header, the request uses the default API version. The default changes when a new API version becomes the default, so always send the header to keep your integration on the version it was built for. An API version that isn't supported is rejected with 400 Bad Request.

Each response lists the supported API versions in the api-supported-versions header.

The API reference shows each API version separately; select it in the version dropdown.

Supported Versions

Which API versions are supported, which one is the default, and when support of a version ends is listed in Staying Up to Date, together with how we handle deprecations and breaking changes.