API Versioning
We want you to be confident that your Fleetio API integration will continue to work even as we make changes to our API. In order to do this, we maintain multiple versions of our API endpoints. This allows us to make breaking changes without breaking your integration. Allowing you to upgrade to the latest version of our API at your own pace, and separately for each endpoint you use.
Date Based Versions
Fleetio has introduced a new way to version its public API, based on release dates. You do not need to make any changes to your integration to begin using date versioning, as we have automatically locked your existing API key(s) to the current date version. When any breaking change is introduced, the change will be contained in a subsequent version. Since newly created API keys will default to the latest current API version at the time they are created, you should take care to choose the same version as your existing API key when rotating API keys. To assist with upgrading, you can override your API key's locked version by sending along the X-Api-Version
header with a valid version string with any API request. It is recommended that you ensure full compatibility by testing your integration in this way before configuring a new default version for your API key(s).
Endpoint Versions
Endpoint versions have been deprecated as of 2023-03-01
. Different endpoints will continue to exist at the respective v1, v2, and v3 paths, but breaking changes will be released as date-versions using the latest endpoint-versioned path.
If a change would break existing integrations, we will introduce a new version.
Breaking Changes and Backwards Compatibility
The following table includes examples of the types of changes we might make to an endpoint and whether we consider those changes to be backwards-compatible.
Breaking Changes | Backwards-Compatible Changes | |
---|---|---|
New Version Required |
|
|
Examples |
|
|