Why it matters more for apps than websites
A website updates for everyone the moment you deploy. A mobile app does not: some drivers or customers will run a build from months ago. If the API removes a field that old build expects, it crashes. Versioning, or strict backward compatibility, is how you avoid that.
Common approaches
- URL path: /api/v2/bookings. Visible and easy to route; the most common.
- Header: a custom header or Accept media type selects the version; cleaner URLs but harder to test in a browser.
- Date-based: each account is pinned to the API version from the date it integrated, and upgrades on request. Stripe is a well-known example.
What counts as breaking
Removing or renaming fields, changing a field's type, tightening validation and changing error formats break clients. Adding optional fields and new endpoints usually does not, provided clients ignore unknown fields.
Retiring old versions
Announce deprecation with dates, send a Deprecation or Sunset header, log which clients still call old versions, and contact them directly. For mobile apps, a minimum-supported-version check that prompts users to update gives you a way to close very old versions safely.
Questions, answered
No. Only breaking changes; additive changes can ship in the current version.
As few as practical, often the current one and the previous one, with clear end dates.