Total Keys
—
Active
—
Revoked
—
Total Uses
—
Generate Key
Keys
| Key | Label | Status | Uses | Expires | HWID | Last Used | Actions |
|---|---|---|---|---|---|---|---|
| Loading… | |||||||
API Reference
Verify a key from your application. Send a POST request with the key (and optional HWID for hardware locking).
POST /api/verify
Content-Type: application/json
{
"key": "XXXXXXXX-XXXXXXXX-XXXXXXXX-XXXXXXXX",
"hwid": "optional-hardware-id"
}
// Success response
{ "valid": true, "label": "user123", "expiresAt": null, "usesRemaining": null }
// Failure response
{ "valid": false, "error": "Invalid key" }
Example (Node.js):
const res = await fetch('http://localhost:3000/api/verify', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ key: userKey, hwid: machineId })
});
const data = await res.json();
if (!data.valid) { console.log('Auth failed:', data.error); process.exit(1); }