Software Licenses Manager API - Overview
This API adds license codes to any software (desktop app, plugin, add-on, web service). It lets you create licenses, activate them on a device, deactivate, and administer everything easily.
Technology & authorship
- Built in Python with FastAPI.
- Designed and maintained by XP-Flightdeck.
What it’s for
- Protect premium features: only users with a valid license can unlock them.
- Per-device limits: you decide how many machines a license can run on.
- Pause / resume: temporarily disable a license and turn it back on later.
- Visibility: list licenses, see active devices, and key dates.
- Security: activation responses are digitally signed to prevent tampering.
Capabilities
1) License creation (Admin)
Generate unique keys with attributes (product/edition, activation quota, feature flags).
Great for onboarding, bundles, trials, and replacements.
2) App-side activation
On first run, your app sends the user email, license key, and a device identifier.
The API validates and returns a signed token your app can keep as proof.
3) Device deactivation
When the user changes machine, free a device slot to reuse the license elsewhere.
Can be triggered by the app or an admin.
4) Admin management & reporting
Search and list licenses (email, product, edition, status).
See active devices and activation history for support/compliance.
5) Enable / disable a license
Temporarily suspend a license (refund, abuse) or re-enable it.
Effect is immediate—no device changes needed.
6) Service health
A health endpoint confirms the API is responding (handy for monitoring).
Typical scenarios
- Desktop app / plugin with “Pro” features.
- Subscriptions with a limited number of devices (e.g., 2 machines).
- Trials (time-limited + activation quota).
Functionalities Integration
- Create a license (admin tool or script).
- Activate on first run of the app.
- Store the signed token in the app.
- Deactivate the old device when the user migrates.
Technical details (examples, formats) live in the Quick Guide and API Reference pages.