Appearance
List Licenses
Retrieve all licenses in your account.
GET /v1/licensesQuery Parameters
| Parameter | Type | Description |
|---|---|---|
page | number | Page number (default: 1) |
per_page | number | Items per page (default: 20, max: 100) |
product_id | string | Filter by product ID |
customer_id | string | Filter by customer ID |
status | string | Filter 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"