Skip to content

Validate License

POST
/api/license/validate

Validate a license key against the Keygen API (requires network).

LicenseValidateRequest

Validate a license key against Keygen.

object
licenseKey
required
Licensekey
string

Successful Response

LicenseStatusResponse

Current license status (returned by validate and status endpoints).

object
valid
required
Valid
boolean
licenseKeyLast4
Licensekeylast4
string
""
machinesUsed
Machinesused
integer
0
machinesLimit
Machineslimit
integer
0
licenseType
Licensetype
string
default: customer
expiresAt
Any of:
string
error
Any of:
string

Validation Error

HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object