API versions

Amperity APIs evolve and change over time. Amperity versions API endpoints to help your brand track changes to the Amperity API and to offer support to developers as these endpoints evolve.

Your team of developers can track improvements to the Amperity API from the changelog. Monitor the changelog to know when new versions are available or when existing versions are updated or planned for deprecation.

Important

A version identifier names the version of an API that serves a request, such as a date or unstable. Each API states whether a request must include one.

All endpoints in an API are versioned together. This provides consistency across all endpoints and ensures interoperability.

A version identifier is updated only when breaking changes occur.

Breaking changes

A breaking change occurs when functionality within an API is modified in a way that causes integrations or applications to function abnormally or to stop working.

A breaking change often requires a third-party developer to make changes to their existing integrations or applications to maintain functionality with an API.

Examples of breaking changes include, but are not limited to:

  • Removing an endpoint

  • Renaming a URL, request or response field, HTTP header, or query parameter

  • Adding a required request field, HTTP header, or query parameter

  • Requiring a request field, HTTP header, or query parameter that was previously optional

  • Removing a request or response field, HTTP header, or query parameter

  • Modifying a data type or enumeration value

  • Adding pagination to a resource collection response

Non-breaking changes

A non-breaking change does not cause integrations or applications to function abnormally or to stop working.

A non-breaking change should not require a third-party developer to do any migration work to maintain existing functionality.

Examples of non-breaking changes include, but are not limited to:

  • Adding an endpoint

  • Adding a request or response field, HTTP header, or query parameter

  • Adding an enumeration value

Version identifiers

A version identifier is a string that identifies a supported version.

  • Amperity API. Every request must include a version identifier in the api-version request header. Every endpoint except POST /workflow/runs also accepts it as the api_version query parameter. A request without a version returns a 400 response.

  • Profile API. Every request must include a version identifier in the api-version request header. A request without one returns a 400 response.

  • Real-time API. A request names its version in the api-version request header. A request without it is served the latest version.

  • Streaming API. The version is the v0 in the URL path, such as /stream/v0/data/{stream-id}. Requests take no api-version header.

Request header

In the following example, replace “{tenant}” with your tenant name, “{endpoint}” with the name and path of the Amperity API endpoint, “{access-token}” with your Amperity API access token, and “{version}” with the version of the Amperity API to which the request will be made:

curl -request GET \
     -url "https://{tenant}.amperity.com/api/{endpoint}/" \
     -H "Authorization: Bearer ${access-token}" \
     -H "Amperity-Tenant: {tenant}" \
     -H "Content-Type: application/json" \
     -H "api-version: {version}"

where “{version}” identifies the version of the Amperity ID, such as “2024-04-01”.

Supported versions

New versions of the Amperity API are released periodically. Each version of an endpoint will be supported for at least 1 year.

Current versions:

  • 2024-04-01 The current version of the Amperity API.

  • 2025-07-31 The current version of the Profile API.

  • 2026-09-03 The current version of the Real-time API.

  • v0 The current version of the Streaming API.

Unstable versions

During development, Amperity may release APIs for testing using the unstable version identifier. Unstable versions contain features that are still in progress and may not be backward compatible.

Unstable versions do not guarantee customer support, notification of changes or breaking changes, or availability.

Deprecated versions

At least 6 months notice will be given before any supported version is marked as unsupported. API calls that are made to an endpoint using a version identifier that is no longer supported will return a 400 response.

Amperity APIs evolve and change over time. To warn developers of upcoming deprecations Amperity uses the following headers:

  • Deprecation Header. When true a deprecation will occur at the date indicated in the header.

  • Sunset Header. When true a deprecated feature stops working and return a 4xx response at the date indicated in the header.

Deprecation and Sunset headers will be added at least 6 months before a deprecation. A deprecation date will be at least 3 months before a sunset date. For example:

Deprecation: Tue, 1 Sep 2024 23:59:59 GMT
Sunset: Wed, 1 Dec 2024 23:59:59 GMT

Deprecation and Sunset headers are informational. Amperity recommends building alerts to monitor for these headers to ensure that your applications and workflows can be migrated.