- 2026-07-15 - The new current stable version of the v2 API. Introduces breaking changes around restricted opportunity field access and relative date units. See the changelog for full details.
- 2024-01-01 - A previous stable version of the v2 API. This version is now locked and will not receive further changes.
Setting an app’s default version
Every app has a Default API Version, which is used for any request made with that app that does not specify a version header.- When creating an app: open the Manage Apps page in your Affinity Settings and select a Default API Version in the app creation form.
- For an existing app: open the app from the Manage Apps table and edit its Default API Version.
Overriding the version per request
To target a specific version on an individual request, send theX-Affinity-Api-Version header with
the desired version. This overrides the app’s default version for that request only:
X-Affinity-Api-Version header indicating the version that was used to
handle the request. You can also use current as the version value to always receive the latest
version, though this will make your integration vulnerable to breaking changes when new versions are
released.