X-Api-Version header; requests without the header receive the default version. This means an upgrade never happens to you — you choose when.
How it works
- No header — you receive the default version, currently
2026-07-01. X-Api-Version: <date>— you receive the behavior of that version. Any date on or after a version’s release date selects it.- Malformed value — anything that isn’t a
YYYY-MM-DDdate returns a400 validation_error. The API never silently falls back when you asked for a specific version.
Versions
Why versions exist
A license number can carry several license types at once — a California premises can hold an on-sale license and a caterer’s permit under the same file number, each with its own status and expiration date. The2026-08-01 shape represents that reality faithfully; the default shape returns one record per license number, built from a deterministic primary (active types before delisted ones, lowest type code first).
Recommendation
SendX-Api-Version explicitly in every integration, even if you’re staying on the current default. When a new version becomes the default, pinned integrations are unaffected — default changes are announced in the changelog ahead of time.