Deprecations
How Talonic retires API contracts: shipped fields and URLs never change in place; deprecations carry Deprecation and Sunset headers and a dated changelog note.
An integration you build on the Talonic API keeps working: a shipped field, parameter, enum value or URL never changes meaning or disappears in place. When a contract has to change, the new one ships beside the old one, the old one is marked deprecated with a dated sunset, and the change is announced in the changelog. This page is for developers who own an integration and want to know what notice they get and how to spot a deprecated call in their own traffic.
The policy
- Additions are not breaking. New endpoints, new optional parameters, new response fields, new enum values on fields you read, and new event types ship under
/v1without notice. Ignore fields you do not recognise. - A breaking change is a new contract. It ships as a new path, a new version prefix, or an opt-in response shape, beside the existing one. Both work at the same time.
- The old contract gets a dated sunset. The changelog entry names the old and new contract, the reason, how to migrate, and the sunset date.
- Deprecated calls say so on every response. They carry a
Deprecationheader, aSunsetheader with the date, and aLinkheader pointing at the successor (rel="successor-version"). The reference marks the operation deprecated. - After the sunset, the old URL answers `410 Gone` with the same headers and a body naming the replacement. It never silently does something else, and a documentation address is redirected, never removed.
Find deprecated calls in your traffic
Log the Deprecation and Sunset response headers in your HTTP client, or alert when either appears. That catches every deprecated call your integration makes, including ones in code paths you rarely run, well before the sunset date.
Node — warn on deprecated responses
const res = await fetch('https://api.talonic.com/v1/documents?limit=1', {
headers: { Authorization: `Bearer ${process.env.TALONIC_API_KEY}` },
});
if (res.headers.get('Deprecation')) {
console.warn('Deprecated Talonic call', {
url: res.url,
sunset: res.headers.get('Sunset'),
successor: res.headers.get('Link'),
});
}A retired path: 410 with successor headers
curl -si https://api.talonic.com/v1/exports/mappings \
-H "Authorization: Bearer $TALONIC_API_KEY" | head -6
HTTP/1.1 410 Gone
Deprecation: true
Sunset: <date>
Link: </v1/delivery/bindings>; rel="successor-version"Current notices
Deprecated and retired contracts
410 Gone with Sunset, Deprecation and Link headers. Use /v1/delivery/bindings (for /v1/exports/mappings) and /v1/delivery/destinations (for /v1/exports/destinations).POST /v1/pipelines or POST /v1/run for new integrations. No sunset date is set; the endpoint keeps working./v1/pipelines for new integrations. No sunset date is set.POST /v1/fields/registry/query; the old path serves the same response. No sunset date is set.GET /v1/fields/registry/health; the old path serves the same response. No sunset date is set.