Your First License
After activating WPLM you can issue your first license key in three steps.
1. Create a generator
Section titled “1. Create a generator”A generator defines the format of your license keys (character set, chunk count, separator, prefix, suffix).
- Go to License Manager → Generators → Add New.
- Set a Name (e.g. “Standard Keys”).
- Leave defaults (4 chunks of 4 uppercase alphanumeric characters, dash separator) or customise.
- Set Default Seats (e.g.
1) and Default Valid Days (e.g.365) — these apply to every key generated by this template. - Click Save Generator.
2. Issue a license
Section titled “2. Issue a license”- Go to License Manager → Licenses → Add New.
- Choose Key Source: Generate from generator and select your new generator.
- Fill in optional fields: Product, Order, User, Expiry.
- Click Create License.
WPLM generates a signed, encrypted key, stores it, and shows the plaintext key on screen once.
3. Validate via REST
Section titled “3. Validate via REST”curl -X POST https://yoursite.com/wp-json/wplm/v1/validate \ -H "Content-Type: application/json" \ -d '{"license_key": "XXXX-XXXX-XXXX-XXXX"}'A successful response looks like:
{ "success": true, "data": { "status": "active", "expires_at": "2027-01-01T00:00:00Z", "max_activations": 1, "activation_count": 0, "signed_payload": "eyJ..." }}Next steps
Section titled “Next steps”- Set up REST API keys to authenticate management calls.
- Connect a WooCommerce product to auto-issue keys on purchase.
- Understand the license lifecycle for expiry, renewal, and revocation.