Skip to content

List Licenses

Retrieve all licenses in your account.

GET /v1/licenses

Query Parameters

ParameterTypeDescription
pagenumberPage number (default: 1)
per_pagenumberItems per page (default: 20, max: 100)
product_idstringFilter by product ID
customer_idstringFilter by customer ID
statusstringFilter by status: active, expired, revoked, suspended

Response

json
{
  "data": [
    {
      "id": "lic_xxx",
      "licenseKey": "MYPLUGIN-XXXX-XXXX-XXXX-XXXX",
      "productId": "prd_xxx",
      "customerId": "cus_xxx",
      "planId": "pln_xxx",
      "status": "active",
      "seats": 5,
      "activatedCount": 2,
      "expiresAt": "2027-02-06T00:00:00.000Z",
      "createdAt": "2026-02-06T00:00:00.000Z"
    }
  ],
  "meta": {
    "page": 1,
    "perPage": 20,
    "total": 50,
    "totalPages": 3
  }
}

Example

bash
curl -X GET "https://api.packedge.dev/v1/licenses?product_id=prd_xxx&status=active" \
  -H "Authorization: Bearer pk_your_api_key"