---
title: "List customer licenses"
method: GET
path: "/v1/customers/{id}/licenses"
tags: ["Customers"]
---

# List customer licenses

`GET /v1/customers/{id}/licenses`

Retrieve a paginated list of license keys for a specific customer.

## Path parameters

- `id` string, required

## Query parameters

- `page_number` number
- `page_size` number

## Response `200`

Successfully retrieved customer licenses

- LicenseListEntity
  - `items` LicenseEntity[], required — List of license items
    - `id` string, required — Unique identifier for the object.
    - `mode` 'test' | 'prod' | 'sandbox', required — String representing the environment.
    - `object` string, required — A string representing the object's type. Objects of the same type share the same value.
    - `product_id` string, required — The ID of the product this license belongs to.
    - `status` 'inactive' | 'active' | 'expired' | 'disabled', required — The current status of the license key.
    - `key` string, required — The license key.
    - `activation` number, required — The number of instances that this license key was activated.
    - `activation_limit` number, nullable — The activation limit. Null if activations are unlimited.
    - `expires_at` string, date-time, nullable — The date the license key expires. Null if it does not have an expiration date.
    - `created_at` string, date-time, required — The creation date of the license key.
    - `instance` LicenseInstanceEntity
      - `id` string, required — Unique identifier for the object.
      - `mode` 'test' | 'prod' | 'sandbox', required — String representing the environment.
      - `object` string, required — A string representing the object’s type. Objects of the same type share the same value.
      - `name` string, required — The name of the license instance.
      - `status` 'active' | 'deactivated', required — The status of the license instance.
      - `created_at` string, date-time, required — The creation date of the license instance.
  - `pagination` PaginationEntity, required
    - `total_records` number, required — Total number of records in the list
    - `total_pages` number, required — Total number of pages available
    - `current_page` number, required — The current page number
    - `next_page` number, nullable, required — The next page number, or null if there is no next page
    - `prev_page` number, nullable, required — The previous page number, or null if there is no previous page

## Other responses

- `400` — Bad Request - Invalid input parameters
- `401` — Unauthorized - Invalid or missing API key
- `404` — Not Found - Resource does not exist

---

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