Skip to content

Sites

Sites track which sites are using a license. When a customer installs your plugin and enters their license key, the site is activated.

How It Works

  1. Customer enters license key in your WordPress plugin
  2. Plugin calls the activate endpoint with the key and url
  3. PackEdge verifies the license is valid and has available seats
  4. A site record is created, tracking the url
  5. siteCount on the license is incremented

Site Status

StatusDescription
activeCurrently using the license
deactivatedPreviously active, now deactivated

Seat Limits

Each license has a seats field defining maximum concurrent sites. When the limit is reached, new sites are rejected with:

json
{
  "error": "License seat limit reached"
}

Idempotent Activation

If the same url is already activated, the existing site is returned. This means calling activate multiple times for the same url is safe and won't consume additional seats.

Managing Sites

In the console, you can:

  • View all sites for a license
  • Manually deactivate any site
  • See site history

Revoking a license automatically deactivates all its sites.