Base URL & Versioning

Configure your API requests with the correct endpoint and version parameters to ensure compatibility, stability, and smooth migration across Aevum Zenth services.

Environment Endpoints

All API requests must be directed to the appropriate environment base URL. Authentication tokens and resources are scoped to their respective environments and are not cross-compatible.

Environment Base URL Usage
Production https://api.aevumzenth.com Live traffic, production workloads
Staging https://api.staging.aevumzenth.com Pre-release testing, integration validation
Sandbox https://api.sandbox.aevumzenth.com Development, mocking, and safe experimentation

Versioning Strategy

Aevum Zenth uses URL path versioning as the primary strategy for API compatibility. This ensures explicit version targeting, easy caching, and straightforward routing for developers.

ℹ️ Recommended Approach

Always include the version segment /v1/ or /v2/ immediately after the base URL. Omitting the version will return a 400 Bad Request error.

While path versioning is primary, we also support Accept Header versioning for legacy integrations transitioning to newer versions:

Header Fallback Example
Accept: application/vnd.aevumzenth.v2+json
Content-Type: application/json

Request Examples

cURL

Terminal / cURL
curl -X GET https://api.aevumzenth.com/v1/accounts/me \r
  -H "Authorization: Bearer <YOUR_ACCESS_TOKEN>"

Python (requests)

Python 3.8+
import requests

base_url = "https://api.aevumzenth.com/v1"
headers = { "Authorization": f"Bearer {api_key}" }

response = requests.get(f"{base_url}/accounts", headers=headers)
print(response.json())

JavaScript (fetch)

Node.js / Browser
const BASE = 'https://api.aevumzenth.com/v1';

const res = await fetch(`${BASE}/transactions`, {
  headers: { 'Authorization': `Bearer ${TOKEN}` }
});
const data = await res.json();

Version Lifecycle & Deprecation

We follow a strict version lifecycle policy to minimize disruption:

⚠️ Migration Notice

When a version enters the sunset phase, API responses will include version metadata. Monitor the X-Aevum-Version-Status header to track upcoming deprecations.

Version Metadata Headers

Every response includes versioning context to assist with automation and lifecycle management:

Header Description
X-Aevum-Version The exact version processed by the request (e.g., 1.4.2)
X-Aevum-Version-Status Current lifecycle state: active, sunset, or retired
Deprecation ISO 8601 date when the version will be retired (if applicable)
Link Rel=\"deprecation\" URL pointing to migration guides

Troubleshooting

400 Bad Request: Missing Version

This occurs when the version segment is omitted from the URL path. Ensure your base URL follows the pattern https://api.aevumzenth.com/v{major}/.

404 Not Found on Valid Endpoint

Resource endpoints frequently change between major versions. Verify that the requested path exists in the current API reference for your target version.

CORS / Preflight Failures

The API enforces strict CORS policies. Include your registered origin in the Origin header. Sandbox environments allow * for development testing.

✅ Next Steps

Explore the API Reference for endpoint details, or download our official SDKs for Python, JavaScript, Go, and Java.