# Forter Signals API versioning and deprecation

The API version is in the path: every endpoint is under `/api/v1`.

## What can change within v1

Only additive changes, which a well-behaved client ignores:

- new endpoints and new operations
- new optional request fields
- new response fields, and new signals you can ask for in `fields`

Anything else (removing or renaming a field, changing its type or meaning, making an optional request field required) ships as a new version, `/api/v2`, and v1 keeps working alongside it.

## How a deprecation is announced

- The operation is marked `deprecated: true` in the OpenAPI spec at https://signals.forter.com/api/openapi.json.
- Its responses carry a `Deprecation` header (RFC 9745) with the date it was deprecated, a `Sunset` header (RFC 8594) with the date it stops working, and `Link: <https://signals.forter.com/versioning.md>; rel="deprecation"`.
- The `Sunset` date is at least 6 months after the `Deprecation` date.

Nothing is deprecated today.

See also: [API reference](https://signals.forter.com/api/docs), [authentication](https://signals.forter.com/auth.md).
