---
title: "Get License Key"
method: GET
path: "/v1/customer-portal/license-keys/{id}"
tags: ["customer_portal", "license_keys", "public"]
---

# Get License Key

`GET /v1/customer-portal/license-keys/{id}`

## Request

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

Get a license key.

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

## Path parameters

- `id` string, uuid4, required

## Response `200`

Successful Response

- LicenseKeyWithActivations (unresolved $ref)

## Other responses

- `404`: License key not found.
- `422`: Validation Error

## Changes

- **2026-08-10** `f9688fd328d6`: 1 info
  - added the required property `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/:id/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)
