Setting API version for a single request
By default, requests use your Flatpeak account’s default API version (set in the Dashboard). You can override it by adding theFlatpeak-Version header:
Example request
flatpeak-version:
Response header
Permanently changing API version
You can upgrade your default API version in the Dashboard > Settings > Versions > API Versions. As best practice, test the new version by adding the header before upgrading. It is not possible to downgrade once you have upgraded to the higher version in the Dashboard.Webhooks
Webhook events are emitted according to the API version used when the related object was created, unless you have permanently changed the API version via the Dashboard. For example:- Creating a location with
2024-08-24.zerowill emit events in the Zero version. - Creating a location with
2025-09-14.anodewill emit events in the Anode version.
Errors
If you are trying to pass theFlatpeak-Version header for a version that is lower than the one you configured in the Dashboard (your default version), you will receive the following error
HTTP 422 Error

