# Licenses

License keys from Paddle, AppSumo, and GetSales

## List licenses

 - [GET /id/api/licenses](https://api.getsales.io/bundled/licenses/listlicenses.md): Returns a paginated list of licenses. Licenses are issued by vendors (Paddle, AppSumo, or GetSales) and link a billing record to a team. Each license tracks its activation status, expiry, and the team it is applied to.

## Get license by UUID

 - [GET /id/api/licenses/{uuid}](https://api.getsales.io/bundled/licenses/getlicense.md): Returns a single license by its UUID.

## Get license group counts

 - [POST /id/api/licenses/group-counts](https://api.getsales.io/bundled/licenses/getlicensegroupcounts.md): Returns aggregated counts of licenses grouped by a specified field. Useful for dashboards — for example, group by status to see how many licenses are active, inactive, or removed; or group by vendor to see the distribution across Paddle, AppSumo, and GetSales.

