---
title: "Retrieves account license information."
method: GET
path: "/api/v1/accounts/{accountId}/licenses"
---

# Retrieves account license information.

`GET /api/v1/accounts/{accountId}/licenses`

## Request

- Base URL: `https://api.usa.cloud.watchguard.com/rest/aether-endpoint-security/aether-mgmt`
- URL: `https://api.usa.cloud.watchguard.com/rest/aether-endpoint-security/aether-mgmt/api/v1/accounts/{accountId}/licenses`
- Auth: API key in header `WatchGuard-API-Key` and HTTP bearer
- TypeScript: <https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/docs/api/v1/accounts/:accountId/licenses/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves license information for Panda products associated with your WatchGuard Cloud account.

## Path parameters

- `accountId` string, required

## Response `200`

OK

- LicenseCounters
  - `product_license_counter` ProductLicenseCounters[]
    - `product_id` integer: Product internal ID.
    - `license_type` 1 | 2 | 3 | 4: Type of license. - 1: Release - 2: Trial - 3: Beta - 4: Not for resale
    - `product_name` string: Name of the licensed product.
    - `assigned_licenses` integer: Number of licenses assigned to devices.
    - `unassigned_licenses` integer: Number of licenses that are not assigned to devices.
    - `without_license_devices` integer: Number of devices that do not have a license assigned.
    - `expiration_date` string, date-time: Date when all licenses in the license contract expire and the devices are no longer protected.
    - `license_items` ProductMaintenance[]
      - `product_id` integer: Identification number for the product.
      - `license_type` 1 | 2 | 3 | 4: Type of license. - 1: Release - 2: Trial - 3: Beta - 4: Not for resale
      - `amount` integer: Maximum number of license installations allowed.
      - `expiration_date` string, date-time: Date when the license expires.

## Other responses

- `400`: BAD REQUEST.
- `403`: ACCESS DENIED.
- `404`: NOT FOUND.
- `405`: METHOD NOT ALLOWED.
- `500`: INTERNAL ERROR.

---

[API](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api.md) - [All operations](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/llms.txt) - [OpenAPI document](https://skmtc.dev/watchguard/apis/aether-endpoint-security-api/revisions/1376eee70d39?raw)
