Skip to main content

Calling the API

The exact contract is generated from the code (layer 3). It can't drift from what's deployed:

  • Interactive reference: /docs/api (Scalar). Try calls in the browser.
  • OpenAPI document: /openapi/v1.json, for client generation (NSwag, Kiota, openapi-generator).
  • .NET contracts: the Integrations.Contracts package gives you the same DTOs and message records. Every member is documented; browse them in the .NET reference.

These pages cover what the generated reference can't: authentication, errors and idempotency.

Versioning​

Routes carry a major version (/api/v1). Within a version, changes are additive only: new optional fields, new endpoints. Approval tests snapshot the HTTP surface (ApiSurfaceTests) and the message contracts, so a breaking change shows up in review.