YYYY-MM-DD format. A new version is created whenever the API changes: this includes breaking changes, new endpoints, new optional fields, and new response fields. Any modification to the API specification triggers a new dated version.
The API-Version header
Include the API-Version header in your requests to pin your integration to a specific version:
Version resolution
The API resolves the version for each request using the following priority:
Each API key is pinned to the latest available version when it is created. Requests made with that key use its pinned version unless you send an
API-Version header. To upgrade, send the desired version in the header, or change the key’s pinned version in the dashboard under API Keys.
When the version a request resolves to (header or key pin) is below the supported floor, responses include a
Deprecation header, defined in RFC 9745.
Watch for it and upgrade before the version leaves the supported range.Webhook versioning
By default, each webhook event uses the API version of the request that triggered it. You can instead pin a version per webhook endpoint in the Humanos Dashboard. Every webhook payload includes anapi_version field indicating which version format it uses:
Pin a version on your webhook endpoint to avoid unexpected payload changes. Update it on your own schedule after reviewing the changelog.
Best practices
- Pin a version via the
API-Versionheader when you go to production. Each API key is automatically pinned to the latest version when it is created, but explicitly setting it in the header gives you full control. - Test version upgrades before switching. Use the
API-Versionheader to test against a newer version without affecting your default pinned version. - Keep webhook and API versions in sync unless you have a specific reason not to. This avoids confusion when correlating API responses with webhook payloads.