Validate license

Check if a license is valid through its key. No API key is needed to access this endpoint.

POST
/api/v1/public/licenses/validate

Request Body

application/jsonRequired
licenseKeyRequiredstring

The license key.

deviceIdentifierRequiredstring

The identifier of the device to validate the license for.

productIdRequiredstring

The product ID to validate the license for.

curl -X POST "https://keyforge.dev/api/v1/public/licenses/validate" \
  -H "Content-Type: application/json" \
  -d '{
    "licenseKey": "ABCDE-ABCDE-ABCDE-ABCDE-ABCDE",
    "deviceIdentifier": "some_device_id",
    "productId": "p_123456"
  }'

Success

{
  "isValid": true
}