Short answer
The Linkbreakers REST API is versioned in the URL path (/v1). Within a version we only make additive changes. When an operation has to go, we deprecate it first, announce it in the responses themselves, and keep it working for at least 180 days.
Quick summary
- The version is part of the path:
https://api.linkbreakers.com/v1/... - Within
v1, changes are additive only. Clients should ignore unknown fields and enum values - Breaking changes ship under a new path version (
/v2), never insidev1 - A deprecated operation keeps working for at least 180 days and says so on every response with
Deprecation,SunsetandLinkheader fields - The OpenAPI document marks it
deprecated: truewithx-deprecated-on,x-sunsetandx-successor
What counts as non-breaking
These can ship within v1 at any time:
- New operations
- New optional request fields and query parameters
- New fields in responses
- New enum values
- New error codes for new failure cases
- Relaxed validation
Write clients that ignore fields and enum values they do not know, so these changes never break them.
What counts as breaking
These never ship within v1:
- Removing or renaming an operation, field or enum value
- Making an optional field required
- Changing a field's type or meaning
- Tightening validation for requests that are valid today
They ship under a new path version (/v2), and the v1 operations they replace follow the deprecation process below.
How an operation is retired
1. Deprecation
The operation keeps working. In the OpenAPI document it is marked deprecated: true, with:
x-deprecated-on: the date it was deprecatedx-sunset: the earliest date it may stop workingx-successor: the operation to move to
Every response from it carries:
Deprecation: @1798761600
Sunset: Thu, 01 Jul 2027 00:00:00 GMT
Link: <https://linkbreakers.com/help/article/api-versioning-and-deprecation-policy>; rel="deprecation"
Deprecation follows RFC 9745 (a Unix timestamp), Sunset follows RFC 8594 (an HTTP date) and Link points to this page.
2. Sunset
The sunset date is at least 180 days after the deprecation date, and it is known from the first deprecated response. After it, the operation may answer 410 Gone.
SDKs
The SDKs are generated from the OpenAPI document, so a deprecated operation is marked deprecated in each language.
How to stay ahead
- Log or alert on any response that carries a
Deprecationheader field - Read
info.x-api-versioningin the OpenAPI document: it states the strategy, the current version and the minimum notice in days - Check
deprecated: trueoperations in the OpenAPI document when you upgrade an SDK
Limits and caveats
- The 180 days are a minimum. A deprecation can run longer, never shorter
- The policy covers the operations in the OpenAPI document
Frequently asked questions
Will v1 be turned off?
Not without a v2 to move to and at least 180 days of notice through the headers above.
Are new response fields a breaking change?
No. New fields can appear in any response at any time. Ignore the ones you do not use.
Is any operation deprecated today?
No. When one is, it is flagged in the OpenAPI document and on every one of its responses.
Related
About the Author
Laurent Schaffner
Founder & Engineer at Linkbreakers
Passionate about building tools that help businesses track and optimize their digital marketing efforts. Laurent founded Linkbreakers to make QR code analytics accessible and actionable for companies of all sizes.
Related Articles
How to automate QR code campaigns with MCP
Step-by-step guide to automating QR code campaign creation, workflow setup, and analytics retrieval using the Model Context Protocol (MCP) with Claude Code or any MCP-compatible AI client.
Programmatic QR code generation: API vs AI agents
Compare three approaches to programmatic QR code generation — REST API with SDKs, CLI automation, and AI agents via MCP. Understand when to use each method and how Linkbreakers supports all three.
The developer's guide to QR code tracking APIs
Technical guide to QR code tracking APIs — how scan events work, what data you can collect, how to build analytics dashboards, and how to integrate QR tracking into your application with Linkbreakers' REST API and SDKs.
On this page
Need more help?
Can't find what you're looking for? Get in touch with our support team.
Contact Support