Activation Code Directory
Inspect, edit activation limits, toggle active/deactivated, and revoke seats
| Activation Key | Product & Client | Status | Seats Used / Capacity | Expires | Active | Actions |
|---|
Interactive Client Activation Simulator
Simulate client application requests live against the activation API and inspect approved/disapproved responses.
{}
// Live server response will display here...
Recent License Stream
Real-time audit log snapshot of latest activation transactions
Audit & Activation Activity Logs
Complete historical log of all client validation, activation, and deactivation attempts.
| Timestamp | Status | Action | Code | Device ID | Outcome / Reason |
|---|
Client Application Integration Guide
Integrate software license activation into your desktop, web, or mobile applications.
1. Activation Request (POST /api/v1/activate)
Sends the user's activation code to claim a seat. If the code is active and capacity is available, returns status APPROVED with 200 OK. If expired, deactivated, or max activations reached, returns status DISAPPROVED with 403 Forbidden.
import requests
url = "http://localhost:3000/api/v1/activate"
payload = {
"code": "PRO-8732-K9X1-V74B",
"deviceId": "machine-unique-uuid-1234",
"deviceName": "Alice's Workstation"
}
response = requests.post(url, json=payload)
data = response.json()
if response.status_code == 200 and data.get("status") == "APPROVED":
print("License Activated Successfully!")
print(f"Remaining Activations: {data['data']['remainingActivations']}")
else:
print(f"Activation Failed: {data.get('message')}")
print(f"Reason: {data.get('error')}")
async function activateLicense(activationCode, deviceId) {
const response = await fetch('http://localhost:3000/api/v1/activate', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
code: activationCode,
deviceId: deviceId,
deviceName: 'Client Application'
})
});
const resData = await response.json();
if (response.ok && resData.status === 'APPROVED') {
console.log('Approved! License active:', resData.data);
return true;
} else {
console.error('Disapproved:', resData.message);
return false;
}
}
curl -X POST http://localhost:3000/api/v1/activate \
-H "Content-Type: application/json" \
-d '{"code": "PRO-8732-K9X1-V74B", "deviceId": "client-device-999"}'