Skip to content

Your First License

After activating WPLM you can issue your first license key in three steps.

A generator defines the format of your license keys (character set, chunk count, separator, prefix, suffix).

  1. Go to License Manager → Generators → Add New.
  2. Set a Name (e.g. “Standard Keys”).
  3. Leave defaults (4 chunks of 4 uppercase alphanumeric characters, dash separator) or customise.
  4. Set Default Seats (e.g. 1) and Default Valid Days (e.g. 365) — these apply to every key generated by this template.
  5. Click Save Generator.
  1. Go to License Manager → Licenses → Add New.
  2. Choose Key Source: Generate from generator and select your new generator.
  3. Fill in optional fields: Product, Order, User, Expiry.
  4. Click Create License.

WPLM generates a signed, encrypted key, stores it, and shows the plaintext key on screen once.

Terminal window
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..."
}
}