Skip to main content

Targeting a specific version

Default API versionโ€‹

All requests use your organization's "pinned version". By default, this is the most recent version of the API at the creation time of your organization. This value can be checked and updated on the Console in API Keys. We allow you to pin your API version to any existing version.

API updatesโ€‹

When backwards-incompatible changes are made to the API, a new, dated version is released. The current version is 2024-04-22. For a list of all available versions and their associated breaking changes, check out our Upgrades page. For a full changelog of API updates, check out our Changelog page.

Manually set the API versionโ€‹

To set the API version on a specific request, you can add a specific header named X-Nabla-Api-Version (otherwise query parameter nabla-api-version) with the value of the version you are targeting:

curl https://api.nabla.com/{endpoint} -H "X-Nabla-Api-Version: 2024-04-22"