Management API
The Management API lets you build developer tools for key creation and hardware-ID resets. Send HTTP POST requests to https://systemlocker.net/api/v1. The legacy https://systemlocker.net/api/endpoint2.php path remains available for existing integrations.
This API can create and modify customer access. Keep its API key private and restrict any bot or internal tool that can call it.
Request body
Every request requires key, your system's API key. It is different from the system ID and can be found or regenerated on the system settings page.
Use select to query data:
usersreturns the number of redeemed keys for the system.keyreturns the redemption status of the key inlkey.expirationreturns the expiry date of the key inlkey.
Use command to perform an action:
hwidresetresets the HWID for the key inlicense. Addas_admin=falseto enforce the normal 30-day cooldown.genkeyscreates one or more keys. Optional values areexpire(0 through 5),note(up to 250 characters), andcount(up to 100).bankeypermanently deletes the key inlicense.adjustexpirychanges the expiry for the key inlicense. Sendnewexpiryandtz; setnewexpiryto0for a permanent key.systemhwidresetresets the HWID for every key in the system.
Response body
A successful request returns HTTP 200 without the error: true response header. Responses are human-readable; display a clear result in your own developer tool and treat all other responses as failures.