---
title: Plainrouter API versioning and deprecation policy
description: Compatibility, deprecation, and sunset rules for the Plainrouter public API.
canonical: https://plainrouter.com/api/versioning
last_updated: 2026-08-26
---

# Plainrouter API versioning and deprecation policy

Plainrouter versions the public Conversion API in its URL. The current base path is `/api/v1`. Version 1 is active and has no announced sunset date.

## Compatible changes within a version

Plainrouter may add optional request fields, response fields, endpoints, enum values, and HTTP headers within an active API version. Clients should ignore response fields they do not use and should not assume an enum will never gain a value.

Plainrouter introduces a new URL version before making an incompatible change to an existing request or response contract.

## Deprecation notice

When an API version or endpoint is scheduled for retirement, affected responses advertise:

- `Deprecation: true`
- `Sunset: <HTTP-date>`
- `Link: <https://plainrouter.com/api/versioning>; rel="deprecation"`

Plainrouter also publishes the affected paths, replacement path, and sunset date in the public API documentation and changelog. A version remains supported until its published sunset date.

## Client migration

Treat `Deprecation: true` as a migration signal, not an immediate failure. Follow the `Link` header, move to the documented replacement, and complete the migration before the `Sunset` date. Plainrouter does not emit deprecation or sunset headers for active endpoints without a scheduled retirement.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
