License

Validate a license

Validates that a license is active and the machine is registered. Used for periodic license checks.

post/v1/license/validate

Request body

license_keystring required

License key in format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX.

machine_idstring required

SHA-256 hash of machine identifier (64 hex characters).

Example request

{
  "license_key": "ABCDE-12345-FGHIJ-67890-KLMNO",
  "machine_id": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
}

Response

License is valid. Returns signed license data.

signaturestring required

Cryptographic signature of the license data for client-side verification.

Example response

{
  "data": {
    "email": "john@example.com",
    "expires_at": "2027-02-11T00:00:00+00:00",
    "issued_at": "2026-02-12T10:30:00+00:00",
    "license_key": "ABCDE-12345-FGHIJ-67890-KLMNO",
    "status": "active"
  },
  "signature": "base64-encoded-signature"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.