---
title: "List License Keys"
method: GET
path: "/v1/customer-portal/license-keys/"
tags: ["customer_portal", "license_keys", "public"]
---

# List License Keys

`GET /v1/customer-portal/license-keys/`

## Request

- Base URL: `https://api.polar.sh`
- URL: `https://api.polar.sh/v1/customer-portal/license-keys/`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

**Scopes**: `customer_portal:read` `customer_portal:write`

## Query parameters

- `benefit_id` string, uuid4, nullable: The benefit ID.
- `page` integer: Page number, defaults to 1.
- `limit` integer: Size of a page, defaults to 10. Maximum is 100.

## Response `200`

Successful Response

- ListResourceLicenseKeyRead
  - `items` LicenseKeyRead[], required (unresolved $ref)
  - `pagination` Pagination, required
    - `total_count` integer, required
    - `max_page` integer, required

## Other responses

- `401`: Not authorized to manage license key.
- `404`: License key not found.
- `422`: Validation Error

## Changes

- **2026-08-10** `f9688fd328d6`: 1 info
  - added the required property `items/items/customer/first_user_event_at` to the response with the `200` status

[Operation history](https://skmtc.dev/polar/apis/polar-api/changes/v1/customer-portal/license-keys/get.md)

---

[API](https://skmtc.dev/polar/apis/polar-api.md) - [All operations](https://skmtc.dev/polar/apis/polar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/polar/apis/polar-api/revisions/77e4ef94fcc3?raw)
