Validate License
Check if a license key is valid and active.
Endpoint
POST /api/v1/licenses/validateRequest Body
| Field | Type | Required | Description |
|---|---|---|---|
license_key | string | Yes | The license key to validate |
device_id | string | Yes | Device identifier to check activation |
Example Request
{
"license_key": "SS-XXXX-XXXX-XXXX-XXXX",
"device_id": "abc123-def456-ghi789"
}Response
Success — Valid (200)
{
"success": true,
"data": {
"valid": true,
"license_key": "SS-XXXX-XXXX-XXXX-XXXX",
"tier": "pro",
"expires_at": null,
"activations_used": 1,
"activations_limit": 3
}
}Success — Invalid (200)
{
"success": true,
"data": {
"valid": false,
"reason": "LICENSE_NOT_FOUND"
}
}Notes
- This endpoint is called by the desktop client on startup and periodically (every 30 days)
- Returns
valid: trueeven if the device is not activated (for license existence checks) - To check device-specific activation, include
device_idin the request - Rate limited to 10 requests per minute per IP