Skip to main content
Lightyshare uses a date-based versioning system inspired by Stripe’s approach, ensuring backward compatibility while continuously improving the API.

Version Format

API versions follow the YYYY-MM-DD format:
This format makes it immediately clear when a version was released and helps track API evolution over time.

How Versioning Works

1

Token-based Default

When you create an API token, it’s automatically tied to the latest API version available at that time
2

Stable by Default

Your token continues using its original version even as new versions are released
3

Optional Override

You can override the version for specific requests using the lighty-version header

Using API Versions

Default Version (Token-based)

Your token uses its default version automatically:

Override Version (Per Request)

Use a different version for a specific request:

Check Current Version

The API version used is always returned in the response header:

Version Compatibility

Backward Compatible

Existing endpoints continue working as expected

Non-Breaking Changes

New fields and endpoints don’t affect existing integrations

Deprecation Notices

Advance warning before removing features

Migration Guides

Documentation for upgrading between versions

Types of Changes

Non-Breaking Changes (No Version Update)

These changes don’t require a new version:
  • ✅ Adding new endpoints
  • ✅ Adding optional request parameters
  • ✅ Adding new response fields
  • ✅ Adding new webhook events
  • ✅ Performance improvements

Breaking Changes (New Version Required)

These changes trigger a new version:
  • ❌ Removing endpoints
  • ❌ Removing or renaming fields
  • ❌ Changing field types
  • ❌ Modifying validation rules
  • ❌ Changing authentication methods

Version Lifecycle

Support Timeline

Best Practices

Version History

Check the Changelog for detailed information about each version.

Current Version: 2025-08-16

  • Initial stable release
  • Full product, bundle, and rental management
  • Token-based authentication

Migration Guide

When upgrading to a new version:
  1. Review the changelog for breaking changes
  2. Test in development with the new version header
  3. Update your code to handle any changes
  4. Deploy gradually using version headers
  5. Update your token when ready

Version Testing

Test how your integration works with different versions:

FAQ

Your API token’s default version is used automatically. This is the version that was current when your token was created.
No, but you can create a new token which will use the latest version, or override the version per request using headers.
Check the X-API-Version header in any API response to see which version was used for that request.
No, your token continues using its original version. New versions don’t affect existing integrations unless you explicitly upgrade.
Next: View the Changelog