🔌 Keylance REST API Documentation

📘 Introduction
Keylance provides a simple REST API to validate and manage your license keys in real-time. This API works with any engine, framework, or language that supports HTTP requests. You don’t need to use our SDK — just make a GET request to verify a key and get back structured JSON.
🔐 Endpoint: Verify a License Key

To validate a license key, make a GET request to:

https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=API_KEY&project=PROJECT_KEY

🧾 Parameters:

  • key: Your user’s API key
  • project: The project’s unique license key

📄 Example (cURL):

curl "https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=abc123&project=def456"
📤 JSON Response Structure

The response will look like:

{
  "success": true,
  "is_protected": true,
  "active": true,
  "expiration_date": "2025-12-31"
}

🧩 Field Details:

  • success: Whether the request was valid
  • is_protected: If the project is still under Keylance protection
  • active: Whether the license is currently active
  • expiration_date: The fallback expiration date (offline mode)
💡 Use Cases
  • Block access if a client hasn’t paid (remotely disable the license)
  • Enable offline expiration if no internet connection
  • Show a warning screen inside your software/tool
  • Track usage through our automatic connection logs
🛠️ Integration Examples

Unreal Engine (via HTTP request):

FHttpModule::Get().CreateRequest()->SetURL("...VerifKey.php?...");

PHP:

$response = file_get_contents("https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=XXX&project=YYY");
$data = json_decode($response, true);
if ($data["success"] && $data["active"]) { /* OK */ }
        

JavaScript:

fetch("https://aukkeproduction.fr/Keylance_Api/VerifKey.php?key=XXX&project=YYY")
.then(res => res.json())
.then(data => {
  if (data.success && data.active) {
    console.log("Access granted");
  }
});
        
⚠️ Errors & Failures
  • If success = false → the key is wrong or not found
  • If active = false → the license was disabled
  • If expiration_date has passed → fallback mode triggers
  • If the server is unreachable → your app can rely on stored local date
🔄 REST vs SDK
  • SDK: Native integration for Unreal Engine with Blueprint/C++ events
  • REST API: Universal HTTP endpoint compatible with any system
  • You can use both — the SDK actually uses this endpoint under the hood
📞 Support & Limits
  • ✔️ No API key rotation needed
  • ✔️ No rate limit under normal usage
  • ✔️ Encrypted database storage and HTTPS endpoint
  • 📩 Need help? Contact jean@aukkeproduction.fr
Translate