Integration API Overview
The Integration API is the primary interface for external applications to validate licenses, manage activations, check entitlements, and report usage. All endpoints are authenticated via API key and rate-limited.
Base URL
https://api.validonx.com/api/v1/integrationAuthentication
All requests require the X-API-Key header:
X-API-Key: vx_your_api_key_hereSee API Key Authentication for details on obtaining and managing keys.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /licenses/{licenseKey}/validate | Validate a license key |
| POST | /activations | Create a device activation |
| POST | /activations/{activationId}/validate | Validate an existing activation |
| POST | /entitlements/check | Check feature entitlements |
| POST | /usage/record | Record usage metrics |
Middleware Stack
Every request passes through:
ResolveTenantFromApiKey— resolves tenant from API keyEnforceRateLimit— enforces per-key rate limits (default: 1,000/hour)
Response Format
Success:
json
{
"data": { ... },
"meta": {
"request_id": "uuid",
"api_version": "1"
}
}Error:
json
{
"error": {
"code": "LICENSE.NOT_FOUND",
"message": "License key not found.",
"type": "license",
"status": 404,
"details": {}
},
"meta": {
"request_id": "uuid",
"api_version": "1"
}
}Rate Limits
1,000 requests per hour per API key. See Rate Limits.
Security Model
- API keys are hashed with HMAC-SHA256 before storage
- Raw keys are shown only once at creation
- Each key is bound to one tenant
- Suspended tenants are rejected with 403
- All requests are rate-limited
last_used_atis updated on every request