Skip to main content
POST
Go (SDK)

Authorizations

Authorization
string
header
required

You can generate an Organization Access Token from your organization's settings.

Body

application/json
key
string
required
organization_id
string<uuid4>
required
activation_id
string<uuid4> | null
benefit_id
string<uuid4> | null

The benefit ID.

customer_id
string<uuid4> | null
increment_usage
integer | null
Required range: x >= 0
conditions
Conditions · object

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

id
string<uuid4>
required

The ID of the object.

created_at
string<date-time>
required

Creation timestamp of the object.

modified_at
string<date-time> | null
required

Last modification timestamp of the object.

organization_id
string<uuid4>
required
customer_id
string<uuid4>
required
customer
LicenseKeyCustomer · object
required
benefit_id
string<uuid4>
required

The benefit ID.

key
string
required
display_key
string
required
status
enum<string>
required
Available options:
granted,
revoked,
disabled
limit_activations
integer | null
required
usage
integer
required
limit_usage
integer | null
required
validations
integer
required
last_validated_at
string<date-time> | null
required
expires_at
string<date-time> | null
required
activation
LicenseKeyActivationBase · object | null