Skip to content
Developer docsVersioning

Conventions

Versioning

The API’s major version is in the path: /v1. Within v1, changes only add things, so a client written today keeps working.

What can change within v1

  • new operations;
  • new optional fields in requests;
  • new fields in responses;
  • new details.reason values;
  • new webhook event types.

Write clients that ignore response fields and event types they do not know, and that treat an unknown reason like its error code. Even additions can break a client that checks responses field by field, so watch the changelog.

Breaking changes

A change that could break a working client ships as a new major version, /v2, served beside /v1 for at least 12 months. During that time, responses from the old routes carry a Deprecation header, and a Sunset header with the date they stop.

Where changes are announced

Every change, with its date, is in the changelog.

The contract

The API's OpenAPI 3.1 contract is its single description. The reference is generated from it when this site is built, and the API enforces the same scope lists, so the two cannot drift apart.