Skip to main content
The Classet API is versioned in the URL path. Everything documented here lives under /v2:
There is no version header and no per-request version pinning — the path prefix is the version. Your integration opts into a new major version by changing the base path, never by surprise.

What can change within v2

Within /v2, changes are additive only. Without notice, you may see:
  • New endpoints and new resources
  • New optional request parameters (query params, body fields) — existing requests keep working unchanged
  • New fields on response objects — an object that had 10 keys yesterday may have 11 tomorrow
  • New values in fields that are documented as open-ended (e.g. free-form status strings), and new error code values alongside the documented set
  • New response headers
What will not change within v2:
  • Existing fields are not removed or renamed
  • Field types are not changed (a string stays a string)
  • The response envelope ({ data } / { data, meta } / { error, code, request_id }) stays stable
  • Existing endpoints are not removed (they may be deprecated — see below — but keep working)
  • Validation is not tightened in a way that rejects previously valid requests

Parse tolerantly

Because additive changes ship without a version bump, build your client to ignore what it doesn’t recognize:
  • Ignore unknown fields in responses instead of failing on them. Avoid strict/closed schema validation (e.g. additionalProperties: false, Zod .strict()) against API responses.
  • Don’t exhaustively match open-ended string fields — always keep a default branch.
  • Read what you need, not the whole shape: destructure the fields you use and pass the rest through untouched.
The TypeScript SDK follows this rule: its types describe the fields we commit to, and new fields flow through without breaking compilation or runtime.

Breaking changes → new version

Anything that would break a well-behaved v2 client — removing or renaming a field, changing a type, changing envelope shapes, removing an endpoint, tightening validation — ships only as a new URL version (/v3). The previous version keeps running while integrators migrate; v1 and v2 run side-by-side today under the same API keys, and the same will hold for future versions.

Deprecation and notice

When an endpoint or field within v2 is superseded (like POST /v2/calls, the deprecated v1 alias):
  1. It’s marked deprecated in the OpenAPI spec, the API reference, and these guides, with a pointer to the replacement.
  2. It’s announced in the changelog.
  3. It keeps working for the life of v2 — deprecation is a signal to migrate, not a removal. Removal only happens at a major-version boundary, with advance notice to affected organizations before any sunset date.
If you’re building on a deprecated surface, migrate at your convenience but before adopting the next major version.

Staying informed

  • Changelog — every notable addition, deprecation, and fix, per release.
  • OpenAPI spec — the machine-readable source of truth for the current surface; diff it to detect additions.
  • Contact success@classet.ai to be notified directly about deprecations affecting your integration.