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

# List License Keys

`GET /v1/license-keys/`

Get license keys connected to the given organization & filters.

**Scopes**: `license_keys:read` `license_keys:write`

## Query parameters

- `organization_id` union — Filter by organization ID.
  - string, uuid4 — The organization ID.
  - string[]
- `benefit_id` union — Filter by benefit ID.
  - string, uuid4 — The benefit ID.
  - string[]
- `status` union — Filter by license key status.
  - 'granted' | 'revoked' | 'disabled'
  - LicenseKeyStatus[]
- `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

---

[API](https://skmtc.net/polar/apis/polar-api.md) · [All operations](https://skmtc.net/polar/apis/polar-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polar/polar-api/revisions/964f974aceff/schema)
