Documentation Index
Fetch the complete documentation index at: https://docs.travelbase.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Travelbase versions its API to give you stability guarantees while still allowing the platform to evolve. Every breaking change ships in a new version β your existing integrations keep working exactly as they do today until you choose to upgrade.Current Version
v1 is the current stable version and the default for all new
integrations.
Version in URL
The version is part of every request URL β
/v1/, /v2/, etc. β making
it explicit and impossible to miss.Deprecation Notice
Deprecated versions receive a minimum 12-month sunset window with
email notices before they are removed.
Specifying a Version
The API version is embedded directly in the base URL. There is no header or query parameter required.If you omit the version segment from the URL the request will be rejected
with a
400 Bad Request. Always include /v{n}/ in every call.Version Lifecycle
Every API version moves through four stages before it is fully retired.Beta
New endpoints and breaking changes land here first. Beta is suitable for
early adopters and experimentation β not for production traffic.
Interfaces may still shift without a deprecation notice.
Stable
The version is production-ready. No breaking changes will be introduced.
Only backwards-compatible additions (new optional fields, new endpoints)
are allowed.
Deprecated
A newer stable version has been released. The deprecated version continues
to work but will stop receiving new features. A sunset date is announced
at least 12 months in advance.
Version Status
v1 β Stable
Current recommended version. Actively maintained with new backwards-compatible
features. All new integrations should target
v1.v0 β Sunset
Fully retired as of December, 2025. All
v0 requests return 410 Gone.
Migrate to v1 immediately if you are still on v0.What Counts as a Breaking Change
Travelbase follows a strict policy on what constitutes a breaking change. Anything in the left column triggers a new major version; anything in the right column does not.| Breaking β new version required | Non-breaking β same version |
|---|---|
| Removing or renaming a field | Adding a new optional field |
| Changing a fieldβs data type | Adding a new endpoint |
| Removing an endpoint | Adding a new optional query parameter |
| Changing HTTP method for an endpoint | Expanding an enum with new values |
| Altering authentication scheme | Improving error messages |
| Changing error code values | Reducing response latency |
Deprecation Headers
When you are calling a deprecated version, every response includes two warning headers so your monitoring can surface the issue automatically.| Header | Value |
|---|---|
Deprecation | Always true when the targeted version is deprecated. |
Sunset | ISO 8601 date-time after which the version will return 410 Gone. |
Migrating Between Versions
Read the changelog
Every version bump ships with a dedicated changelog that lists every
breaking change, renamed field, and removed endpoint. Start there before
touching any code.
Spin up a parallel environment
Point a staging instance at the new version URL (
/v2/) while production
stays on the old one. Run your full test suite against staging first.Update your request URLs
Do a project-wide find-and-replace of
/v1/ β /v2/ (or whichever
version you are moving to). If your base URL is in a single config
constant this is a one-line change.Adapt to breaking changes
Work through each breaking change listed in the changelog. Use the request
and response examples in the endpoint docs to validate your updated
payloads.
FAQ
Will my integration break when a new version is released?
Will my integration break when a new version is released?
No. Releasing
v2 has zero impact on v1. Your requests continue to hit
/v1/ and behave exactly as they do today. You migrate on your own
schedule within the deprecation window.How much notice will I get before a version is sunset?
How much notice will I get before a version is sunset?
At least 12 months. You will receive email notices at 12 months, 6
months, 3 months, and 1 month before the sunset date. Response headers
also carry the
Sunset date on every request to the deprecated version.Can I pin to a minor version like v1.2?
Can I pin to a minor version like v1.2?
No. Minor versions (
v1.1, v1.2) are additive and backwards-compatible,
so pinning is unnecessary. You always receive the latest minor version
within your chosen major version automatically.What happens after the sunset date?
What happens after the sunset date?
All requests to the retired version return
410 Gone with an error body
pointing to the migration guide. No data is lost β only the old versionβs
endpoints stop responding.
