Skip to main content
POST
Create License Key

Authorizations

Authorization
string
header
required

Standard HTTP Bearer token authentication header (e.g. Authorization: Bearer pk_live_...).

Body

application/json
product_id
integer
required

Unique numeric database ID of the target product.

Example:

101

days
integer
required

Validity duration in days (or hours if key_type is hour_limited).

Example:

30

key_type
enum<string>
default:time_limited

Licensing behavior model.

Available options:
time_limited,
single_use,
multi_use,
time_restricted,
hour_limited
Example:

"time_limited"

note
string

Internal reference notes or customer identifier.

Example:

"Order"

max_uses
integer
default:1

Maximum activations allowed before key locks out.

Example:

1

bind_hwid
boolean
default:true

Enforce hardware ID locking on first machine activation.

Example:

true

auto_start
boolean
default:false

If true, expiry countdown begins upon generation rather than on first client use.

Example:

false

amount
integer
default:1

Quantity of keys to generate in bulk (max 100).

Example:

1

Response

License key created successfully.

success
boolean
Example:

true

message
string
Example:

"Key created successfully"

key
string
Example:

"ABCD-EFGH-IJKL-USER"

id
integer
Example:

542

type
string
Example:

"time_limited"

product
string
Example:

"cs2_cheat"