An API that respects your evenings.
Predictable REST endpoints, idempotent writes, signed webhooks, test mode and SDKs for the languages indie developers actually ship in. Integrate licensing in an afternoon.
# Validate a license from anywhere
curl https://api.mykeyloft.com/v1/licenses/validate \
-H "Authorization: Bearer kl_live_••••" \
-d key="LMN3-7Q2M-ARX9-PL4C" \
-d device="sha256:7d1e…b20c" \
-d version="3.4.1"
{ "valid": true, "entitled": true,
"seats": "2/3", "lifetime": true }Ten official SDKs. Zero boilerplate.
Each SDK handles activation, caching, offline verification, grace periods and update checks. All are open source under the MIT license.
Same idea, any stack.
import { Keyloft } from "@keyloft/node";
const kl = new Keyloft({ product: "prod_fieldnote" });
const lic = await kl.activate({
key: input.value,
device: await kl.fingerprint(),
});
if (!lic.entitles(app.getVersion())) {
showUpgradeOffer(lic.upgrade); // one-time upgrade
}use keyloft::{Client, OfflineLicense};
fn main() -> anyhow::Result<()> {
// Verify locally, no network required
let lic = OfflineLicense::load("~/.orbit/license.klf")?
.verify(PUBLIC_KEY)?;
if lic.has("pro") {
enable_pro_commands();
}
Ok(())
}The endpoints you will actually use.
Base URL https://api.mykeyloft.com. JSON in, JSON out. Every write accepts an Idempotency-Key header. Test and live mode use separate keys and data.
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/licenses/activate | Activate a key on a device and receive a signed license file |
| POST | /v1/licenses/validate | Validate a key, device and version entitlement |
| POST | /v1/licenses/deactivate | Release a device seat |
| GET | /v1/licenses/{id} | Retrieve a license with activations and entitlements |
| POST | /v1/licenses | Issue a license manually (giveaways, support, migrations) |
| POST | /v1/licenses/{id}/revoke | Revoke a license |
| GET | /v1/products | List products, prices and entitlements |
| GET | /v1/orders | List orders with filters |
| POST | /v1/orders/{id}/refund | Fully or partially refund an order |
| GET | /v1/releases/latest | Latest build for a channel, platform and entitlement |
| POST | /v1/discounts | Create coupon codes programmatically |
| POST | /v1/imports/licenses | Bulk import legacy license keys |
Know the moment anything happens.
Signed with HMAC-SHA256, retried with exponential backoff for up to 3 days, and replayable from the dashboard. Use them to provision accounts, send onboarding emails or update your CRM.
Scoped API keys
Read-only, licensing-only or full-access keys, each restricted by IP if you want.
Test mode
A full sandbox with test cards, fake payouts and resettable data.
Rate limits
100 requests/second per account for writes, generous burst for validation.
99.95% target
Multi-region validation endpoints with a public status page.
Get your API keys in two minutes.
Create a seller account, switch to test mode and start integrating. You can go live whenever you are ready.