API Versioning and Deprecation
The API version is the first segment of every path: /v1/.... Within a major version we only make changes that keep working integrations working. A change that could break one ships under a new major version, after notice.
Changes we make without notice
These are backward compatible. Write your client so it tolerates them:
- New operations, and new optional query parameters or request fields.
- New fields in responses, including new keys inside objects you already read.
- New values for enum-like fields such as statuses, event types and error codes. Treat an unknown value as "other", never as an error.
- New error codes on an existing status, and more specific messages.
- Higher rate limits, and new rate limits on operations that had none (see Rate limits).
- Fixing behaviour that contradicted this documentation or the API reference.
Generated clients should therefore ignore unknown response fields and accept unknown enum values. The published OpenAPI document is versioned with the API and is the source of truth for each operation's shape.
Breaking changes
Within /v1 we do not:
- remove or rename an operation, a field or a query parameter;
- change a field's type or format, or make an optional request field required;
- change the meaning of an existing value;
- tighten validation in a way that rejects requests that were accepted.
When one of these is needed, it ships as a new operation or field next to the old one, or under the next major version.
Deprecation
Before anything is removed, the operation or field is marked deprecated in the API reference and in the changelog, together with its replacement. It keeps working until the removal date announced there. Notice periods are set by the Terms or your signed agreement, not by this page.
Some fields are already documented as transitional, for example journal endpoints still resolving a version row id where the anchor_id is expected. Their removal is announced the same way.
Where changes are announced
Every change to the public API is listed in the changelog.