← All Features

License Keys

Generate, validate, and manage software license keys with a simple API. Perfect for plugins, themes, SaaS products, and downloadable tools.

sitesmith.dev/dashboard#licenses
License KeyProductStatusActivations
SS-XXXX-ABCD-1234 Theme Pro Active 1 / 3
SS-YYYY-EFGH-5678 Plugin Suite Active 2 / 5
SS-ZZZZ-IJKL-9012 Theme Pro Expired 1 / 1

What you get

Key Generation

Generate unique, cryptographically random license keys with a single click. Assign to products and customers.

Validation API

Validate keys from your app with a simple API call. Check status, activation count, and expiration in real time.

Activation Limits

Set max activations per license. Perfect for per-seat licensing or limiting installations.

Lifecycle Management

Activate, suspend, expire, or revoke licenses. Full lifecycle control from the dashboard or API.

How it works

1

Generate Key

Create a license key with product name, customer info, and activation limits.

2

Distribute

Send the key to your customer via email, in-app, or your storefront.

3

Validate

Your app calls our API to check the key. We return status, activations, and metadata.

Frequently asked

What format are license keys?

Keys follow the format SS-XXXX-XXXX-XXXX where X is an alphanumeric character. They're generated using cryptographically secure random bytes for uniqueness.

How do I validate a key from my app?

Send a GET request to /api/licenses/validate/{key}. The response includes the license status, product name, activation count, max activations, and expiration date.

Can I set expiration dates?

Yes. When creating or editing a license, you can set an optional expiration date. Expired licenses automatically return "expired" status during validation.

What happens when max activations are reached?

Activation attempts beyond the limit will be rejected by the API. You can increase the limit or deactivate existing activations from the dashboard.

Start licensing your software

Generate your first license key in seconds. Full lifecycle management included.

Generate Your First Key