Skip to main content
The Onstacks API has one major version in service today: v1. Every endpoint path starts with /v1, and the version selector at the top of these docs shows the docs for each major version.

How versions work

There are two version numbers: Releases within v1 never break a working integration. You do not need to opt in to receive them.

Changes that do not break your integration

We ship these within the current major version, at any time:
  • New endpoints, new optional request fields and new query parameters.
  • New fields in responses, including new fields inside existing objects.
  • New values in enums that are documented as open, such as status, provider and webhook event types.
  • New error codes for new failure cases, and clearer error messages.
  • New providers, corridors, assets and networks.
Build your client to ignore unknown response fields and to handle unknown enum values and error codes without failing.

Breaking changes

A breaking change is one that can stop a correct integration from working. For example:
  • Removing or renaming an endpoint, field or enum value.
  • Making an optional request field required.
  • Changing a field’s type or meaning.
  • Changing the response status of an existing success case.
Breaking changes ship only in a new major version, such as /v2. The previous major version keeps working during its deprecation period.

Deprecation

When a major version, endpoint or field is deprecated:
  1. The changelog announces it, with the replacement and the date it stops working.
  2. The reference marks it as deprecated.
  3. It keeps working for at least 30 days after the announcement.
Security fixes are the only exception. If a behaviour puts customer funds or data at risk, we can change it with shorter notice, and we contact affected workspaces directly.

Stay informed

  • Read the changelog, or subscribe to its RSS feed at /changelog/rss.xml.
  • Pin your integration to the documented behaviour of v1, and test new releases in the sandbox environment.