# License

##### [Order now](https://puqcloud.com/puqvpncp.php) | [Download](https://download.puqcloud.com/cp/puqvpncp/) | [FAQ](https://faq.puqcloud.com)

## License status

**Request Structure:** `https://<puqvpnvp>/api/v1/license`

**Method:** `GET`

**Cookie: `access_hash=<access_hash>`**

**Example:**

```shell
curl \
-b "access_hash=eda121857897bcf0e4cdf5a3eaf957f35ccb62d39d5bc0bfbfb6d31644eee3cd7f8365e71ad94a60" \
-X GET https://dev.softkeel.com/api/v1/license
```

**Response example:**

```JSON
{
   "error" : "",
   "msg" : {
      "accounts" : 500,
      "expiration_date" : "2023-11-13T18:38:43+01:00",
      "key" : "I77REA-CJ5CCX-DK33DO-USODFR-H9IR8Y",
      "last_check" : "2022-11-16T11:11:36+01:00",
      "valid" : true
   },
   "status" : "success"
}

```

**Errors:**

```
-The license is not active
-Not authorized
```