Skip to main content

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

  1. 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 /v1 without notice. Ignore fields you do not recognise.
  2. 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.
  3. 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.
  4. Deprecated calls say so on every response. They carry a Deprecation header, a Sunset header with the date, and a Link header pointing at the successor (rel="successor-version"). The reference marks the operation deprecated.
  5. 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

/v1/exports/*retired 2026-04-23Every verb on every path returns 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/processdeprecated, supportedPrefer POST /v1/pipelines or POST /v1/run for new integrations. No sunset date is set; the endpoint keeps working.
GET /v1/configsdeprecated, supportedPrefer /v1/pipelines for new integrations. No sunset date is set.
POST /v1/registry/querydeprecated, supportedMoved to POST /v1/fields/registry/query; the old path serves the same response. No sunset date is set.
GET /v1/registry/healthdeprecated, supportedMoved to GET /v1/fields/registry/health; the old path serves the same response. No sunset date is set.
Planned: a response shape for usage and credits that reports credits by action only. It will ship as an opt-in contract beside the current one and be announced in the changelog with a dated sunset for the current shape.

Frequently asked questions

Will Talonic change a field my integration reads?+
No. A shipped field, parameter, enum value or URL never changes in place. A breaking change ships as a new contract beside the old one, and the old one keeps working until a dated sunset announced in the changelog.
How do I find out a call I make is deprecated?+
Deprecated responses carry Deprecation and Sunset headers and a Link header naming the successor. Log or alert on those headers in your HTTP client, and watch the changelog for dated notices.
What happens after the sunset date?+
The old URL returns 410 Gone with the same headers and a body naming the replacement. It never silently changes behaviour, and documentation addresses are redirected rather than removed.