customer_portal
license_keys
public

Validate License Key

Validate a license key.

This endpoint doesn't require authentication and can be safely used on a public client, like a desktop application or a mobile app. If you plan to validate a license key on a server, use the /v1/license-keys/validate endpoint instead.

post/v1/customer-portal/license-keys/validate

Request body

keystring required
organization_idstring uuid4 required
activation_idstring uuid4 nullable
benefit_idstring uuid4 nullable

The benefit ID.

customer_idstring uuid4 nullable
increment_usageinteger nullable
conditionsobject

Key-value object allowing you to set conditions that must match when validating the license key.

The key must be a string with a maximum length of 40 characters. The value must be either:

  • A string with a maximum length of 500 characters
  • An integer
  • A floating-point number
  • A boolean

You can store up to 50 key-value pairs.

Response

Successful Response

ValidatedLicenseKey required— unresolved $ref