> ## Documentation Index
> Fetch the complete documentation index at: https://help.cryptolens.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get License Templates

> Returns the list of license templates. A license template allows you to pre-define the parameters that are used when creating a new license. You can read more about them...

Returns the list of [license templates](https://app.cryptolens.io/LicenseTypes). A license template allows you to pre-define the parameters that are used when creating a new license. You can read more about them
[here](https://help.cryptolens.io/web-interface/license-template).

This method is accessed by [https://api.cryptolens.io/api/licensetemplate/GetLicenseTemplates](https://api.cryptolens.io/api/licensetemplate/GetLicenseTemplates)

### Parameters

| **Parameter** | **Description** | **Remarks** |
| - | - | - |
| v | Method version. | optional. by default, it's 1. |

### Results

| **Parameter** | **Description** | **Remarks** |
| - | - | - |
| LicenseTemplates | List of [License Template](/api-reference/generated/model/LicenseTemplate) objects. | always returned |
| Result | This is either **0**(=success) or **1**(=error). | always returned |
| Message | The message that provides additional information about the result. | always returned. |

### Example results

```text theme={null}
{"licenseTemplates":[{"id":5,"name":"test","productId":3,"parameters":"{\"ProductId\":3,\"Period\":30,\"F1\":false,\"F2\":false,\"F3\":false,\"F4\":false,\"F5\":false,\"F6\":false,\"F7\":false,\"F8\":false,\"Notes\":null,\"Block\":false,\"CustomerId\":0,\"TrialActivation\":false,\"MaxNoOfMachines\":0,\"AllowedMachines\":null}"},{"id":6,"name":"test222","productId":3645,"parameters":"{\"ProductId\":3645,\"Period\":30,\"F1\":true,\"F2\":true,\"F3\":false,\"F4\":false,\"F5\":false,\"F6\":false,\"F7\":false,\"F8\":false,\"Notes\":null,\"Block\":false,\"CustomerId\":0,\"TrialActivation\":false,\"MaxNoOfMachines\":0,\"AllowedMachines\":null}"},{"id":11,"name":"testv2","productId":3645,"parameters":"[{\"APIMethodName\":\"CreateKey\",\"Parameters\":{\"ProductId\":3645,\"Period\":30,\"F1\":false,\"F2\":false,\"F3\":false,\"F4\":false,\"F5\":false,\"F6\":false,\"F7\":false,\"F8\":false,\"Notes\":null,\"Block\":false,\"CustomerId\":0,\"TrialActivation\":false,\"MaxNoOfMachines\":0,\"AllowedMachines\":null}},{\"APIMethodName\":\"AddDataObjectToKey\",\"Parameters\":{\"Name\":\"cryptolens_features\",\"StringValue\":\"[\\\"ModuleA\\\",[\\\"ModuleB\\\",[\\\"Submodule 1\\\",\\\"Submodule 2\\\"]]]\",\"IntValue\":0,\"CheckForDuplicates\":false,\"ProductId\":3645,\"Key\":\"[key]\"}}]"}],"result":0,"message":null}
```

### Errors

| **Error** |
| - |
| Access denied. |
