Documentation Menu

Validate License

Checks the current validity, expiration, and feature set of an activated license.

POST/api/validate-license

🔒 Requires HMAC Authentication

Use this endpoint to verify that a license is still active and to pull the latest plan features (like email and Slack alert permissions).

Request Body

{
  "license_key": "XXXX-XXXX-XXXX-XXXX",
  "site_url": "https://example.com"
}

Successful Response

{
  "expiration_ts": "2025-12-31T23:59:59Z",
  "plan": "professional",
  "features": {
    "email_alerts": true,
    "slack_alerts": true,
    "max_sites": 5
  },
  "message": "License is valid."
}

Common Error States

401Invalid HMAC Signature

The request signature does not match or the timestamp has expired.

403License Invalid/Expired

The license has been revoked or has passed its expiration date.