Skip to main content
This method allows you to create a new license key. The license can either be standalone or associated to a specific customer. It is also possible to add a new customer and associate it with the newly created license using NewCustomer parameter. If you would like to avoid duplicates based on the email, you can use the AddOrUseExistingCustomer parameter. This method is accessed by https://api.cryptolens.io/api/key/CreateKey

Parameters

Results

Case 1: If NoOfKeys is not specified or set to 1, the followig model will be returned. Note, if format=plaintext, only the key string is returned (read more about different media types here). Case 2: If NoOfKeys is greater than 1, the followig model will be returned. Note, if format=plaintext, each license key string will be returned separated by new line (read more about different media types here).

Example results

Remarks

  • This method will only generate at most 1K keys at a time, even if NoOfKeys is set to a higher value.

Errors