NovaRewards uses URL versioning for public API stability.
- Current version:
v1 - Current base URL:
/api/v1 - Legacy base URL:
/api
The unversioned /api path remains a backward-compatible alias for v1, but new integrations should call /api/v1.
Call GET /api/versions or GET /api/v1/versions to inspect the current version, supported versions, legacy status, and sunset date.
Requests served through the legacy /api path include:
X-API-Version: v1X-API-Deprecated: trueDeprecation: trueSunset: 2027-01-01Link: </api/v1>; rel="successor-version"X-API-Migration-Guide: /api/versioning
Requests served through /api/v1 include:
X-API-Version: v1X-API-Deprecated: false
Migration is path-only for v1:
| Legacy route | Versioned route |
|---|---|
POST /api/auth/login |
POST /api/v1/auth/login |
GET /api/campaigns |
GET /api/v1/campaigns |
GET /api/wallet/balance |
GET /api/v1/wallet/balance |
POST /api/webhooks |
POST /api/v1/webhooks |
Request payloads, authentication headers, response envelopes, and error formats are unchanged.
NovaRewards will keep the legacy /api alias available until 2027-01-01. Before removing or changing a version, the API should:
- Publish the successor version in OpenAPI servers and API docs.
- Return deprecation and sunset headers for the retiring version.
- Keep a migration guide with route and schema changes.
- Maintain both versions during the announced migration window.