v2

latestOpenAPI 3.0.0Commercial2026-07-2649110209.4 KB
Customers

List customer licenses

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

get/v1/customers/{id}/licenses

Path parameters

idstring required

The unique identifier of the customer

Query parameters

page_numbernumber
Example:1

The page number for pagination.

page_sizenumber
Example:10

The number of items per page.

Response

Successfully retrieved customer licenses

Example response

{
  "items": [
    {
      "product_id": "prod_abc123",
      "key": "ABC123-XYZ456-XYZ456-XYZ456",
      "activation": 5,
      "activation_limit": 1,
      "expires_at": "2023-09-13T00:00:00Z",
      "created_at": "2023-09-13T00:00:00Z",
      "instance": {
        "object": "license-instance",
        "name": "My Customer License Instance",
        "status": "active",
        "created_at": "2023-09-13T00:00:00Z"
      }
    }
  ],
  "pagination": {
    "current_page": 1,
    "next_page": 2
  }
}