calvana/Docs
Docs pages

Versioning

Last updated: November 19, 2026

What may change inside v1 without notice, what never will, and how Calvana retires anything.

The promise

The major version is in the path: https://api.calvana.com/v1. Inside v1 every change is backward compatible, and an automated check refuses any change that isn't before it ships. A breaking change waits for v2, and v1 keeps running unchanged for at least 12 months after v2 is generally available. Webhook payloads follow the major version of the endpoint that receives them.

There is no version header to send and no version pinned to a workspace.

The promise starts when the closed beta ends. Until then, shapes may change, and we email the workspaces in the beta 14 days before each change.

Changes to expect

We make these inside v1 without notice, and your code must cope with each.

ChangeWhat your code does
A new endpointNothing
A new optional request field or query parameterNothing
A new field in a response or webhook payloadIgnore fields you don't know
A new value in an open enumTreat a value you don't know as "other", and never crash on it
A new event typeNothing for an endpoint that lists its types. An endpoint subscribed to * must ignore types it doesn't know.
A new code under an existing statusBranch on the status first, then on the codes you know
Longer IDs with the same prefixStore IDs as opaque strings of up to 64 characters
Another order of keys in a JSON objectNever depend on key order
Higher rate limits or a larger maximum page sizeNothing
A new response headerNothing
A changed description or exampleNothing

Breaking changes

Each of these waits for a new major version:

  • Removing or renaming an endpoint, field, query parameter, enum value or event type.
  • Changing a field's type or format.
  • Making a response field nullable that never was, or leaving it out of some responses.
  • Adding a required request field, or a validation rule that refuses requests v1 accepted.
  • Changing what a field or status code means, or a parameter's default.
  • Removing a value from a closed enum, or closing an open one.
  • Changing a list's order, a resource's ID prefix, or the error format.
  • Lowering a documented limit below what any key used in the last 30 days.

When the product drops something v1 shows, v1 keeps answering with the closest truthful value, and the reference says so. If bookings lost reschedule_count, v1 would keep answering 0 with a deprecation note.

We break v1 inside the major version only for a security fix or a legal requirement. We then email every workspace whose keys called the affected endpoint in the last 90 days, before the change if the fix allows, and add a Security entry to the changelog.

Open and closed enums

  • An open enum can gain values inside v1. Examples: outcome.status, webhook event types and actor.type. Most enums are open.
  • A closed enum keeps its values for the whole major version. The closed enums are a member's role, the workspace's time_format, a question's contact_field, the changed_by a webhook endpoint is made or changed with, and the list filters sort, status, kind and role. The Calvana-Beta header takes a closed set of values too, and a value stops being needed when its beta graduates.
  • Each object field is a constant, such as "booking", and never changes inside v1.

The OpenAPI document writes an open enum as anyOf of the known values and a plain string, marked x-calvana-open-enum: true. openapi-typescript, openapi-generator and openapi-python-client then type it as a string with known values, and a client they generate doesn't throw on a new value.

Beta operations

Operations from later phases ship as beta first. The reference and the OpenAPI document mark them x-calvana-stability: beta, and a call needs the header that names its feature:

Request header
Calvana-Beta: v1-phase-2
FeatureOperations
v1-phase-2Cancel, reschedule, change host and confirm a booking. Update a prospect. Add a note. Read a calendar's availability.
v1-phase-3Route answers through a form. Create a booking.
  • Without the header, a beta operation answers 404 beta_not_enabled, so nothing relies on one by accident.
  • A beta can change or go away, with 14 days' notice to the workspaces that called it.
  • When a beta graduates it stops needing the header, and Calvana ignores the header from then on.

Deprecation

A field, endpoint or event type that a new major version will drop is deprecated first.

StepWhat happens
MarkThe reference shows Deprecated and names the replacement. The OpenAPI document sets deprecated: true.
HeadersResponses from a deprecated endpoint carry Deprecation: @<unix-time> (RFC 9745), a Link with rel="deprecation", and Sunset (RFC 8594) once a date is set.
MeasureSettings > Developers shows each key's calls to deprecated features in the last 30 days.
NotifyOwners and the key's creator get an email at deprecation, then 90 and 30 days before the sunset, listing their own calls.
SunsetThe retired major version answers 410 version_retired to every request.

A deprecated field stays in responses until its major version retires. Every change to the OpenAPI document gets a changelog entry, and its info.version is 1.<minor>.<patch>. A new endpoint, field or event type bumps the minor, and a description or fix bumps the patch.