API versioning and deprecation policy
Learn about how we version and support our APIs.
Klaviyo’s APIs evolve and change over time. Our versioning and deprecation policy details how we choose to version our APIs and offer developer support as we continually improve and expand our functionality. You’ll learn about how we safely introduce changes to our APIs and discover our API lifecycle so that you can most effectively manage your Klaviyo API usage. For more information, refer to our API Terms of Use.
To stay up-to-date on API changes, be sure to:
- Subscribe to our developer newsletter.
- Join our Klaviyo Community developer group.
- Regularly check our changelog.
API versioning
We version our APIs with revisions, or snapshots of our API at a point in time. Revisions are formatted as ISO 8601 dates (representing release dates) and passed using the HTTP request header, revision (for example, 2023-12-15). This versioning scheme allows us to regularly release new functionality without negatively impacting developers using older revisions.
The following request includes a revision header that serves our 2023-12-15 revision:
curl --request GET \
--url https://a.klaviyo.com/api/events/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'revision: 2023-12-15'Beta revisions
For testing and feedback purposes, we share our new APIs with developers in an early access state. After this phase, we may share the new APIs in a public beta. Klaviyo APIs in beta are accessible via beta revision headers with the suffix .pre, for example, 2024-02-15.pre. We release supporting reference documentation alongside our beta APIs and encourage developer feedback.
Breaking changes
Klaviyo defines a breaking change as any modification to or deletion of functionality within an API that may cause integrations or applications to function abnormally or break.
Examples of breaking changes include, but are not limited to:
- Renaming of a URL, request or response field, HTTP header, or query parameter.
- Removal of a request or response field, HTTP header, or query parameter.
- Addition of a required request field, HTTP header, or query parameter.
- Removal of an endpoint.
Breaking changes are generally gated behind a new revision and clearly documented in our changelog. If we plan on introducing a breaking change to an existing revision, we will provide 30 days notice to our developers. Be sure to join our developer newsletter to receive important updates.
Non-breaking changes
Klaviyo considers the following classes of changes to be non-breaking changes:
New optional fields in endpoint request payloads
New fields added to endpoint response payloads
Updating the
detailstring for an errorNew values for an existing enum field for endpoint request or response payloads
New members for an existing complex union type field for endpoint request or response payloads, e.g. a new segment condition
New optional query parameters
New optional request headers
Additional response headers
New endpoints
Generally, new endpoints are only released in new revisions. Note that non-breaking changes to existing endpoints may be released within an existing revision.
SDK versioning
When a new API revision is released, we release new versions of our SDKs. Our SDKs follow semantic versioning, or the major.minor.patch format, where each numeric value is incremented to reflect the following changes:
major
The API revision contains at least one breaking change.
minor
The API revision contains non-breaking changes, such as notable new functionality.
patch
The SDK has been updated with bug fixes.
Note that SDK support relies on our API versioning and deprecation policy, as each SDK version is pinned to a specific API revision. Keep in mind that each SDK has a separate changelog for documenting changes between versions.
API lifecycle

As shown in the example above, a revision goes through the following phases:
Stable
The revision is subject to non-breaking changes, but remains largely unchanged.
Lasts for 1 year after release.
Deprecated
- Use of the revision is discouraged over stable revisions
- At this point, you should plan to migrate your apps to our latest stable revision before the revision is retired to avoid breakages.
- Starts 1 year after release. Lasts for 1 year.
Retired
- 2 years after release, the revision is no longer supported, and breakages are likely to occur in any apps/integrations that rely on it.
- Calls to endpoints that have been removed since this revision will receive a 410 error.
Initial release
When new endpoints and/or breaking changes are added to our APIs, they are released in a new revision.
When a new revision is released:
- It is the latest stable revision until a newer revision is released.
- There should not be any breaking changes made to the revision, but there may be some non-breaking changes over time.
- The revision remains stable for 1 year.
Deprecation
After a revision’s stable period (1 year after its initial release), the revision is deprecated (set to retire). At this point, you should plan to upgrade your apps to our latest stable revision, which will include new and improved functionality over any deprecated revisions.
When a revision becomes deprecated:
- You’ll have 1 year to upgrade your apps before the revision is retired.
- The revision will not receive any further updates or bug fixes.
- The documentation is updated with the new revision or notifies users that the documented method is deprecated.
Retirement
After a revision’s year-long deprecation phase, it is retired, meaning it is unsupported and no longer available for use. We do our best to fall-forward to the oldest non-retired revision (see below); however, calls to retired endpoints that have been removed since that revision will receive a 410 error, and other breakages are likely to occur.
Fall-forward behavior
If a retired revision date is passed to the request header, Klaviyo falls forward and responds to your request with the same behavior as the next oldest revision. For example, when revision2023-06-15 retires, the next oldest revision is 2023-07-15, and any API requests to 2023-06-15 will be served 2023-07-15.
If you would like to opt out of this behavior, you can use the following request header:
X-Klaviyo-Revision-Fall-Forward-Opt-Out:1
Our fall-forward behavior is a best-effort attempt to honor your request and not fully break your integration; however, we strongly recommend that you audit and update your API usage prior to a revision’s retirement, as it is likely that functionality will break or work differently in newer revisions.