Skip to content

Get License

Retrieve a single license by ID.

GET /v1/licenses/:id

Path Parameters

ParameterDescription
idLicense ID

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",
    "updatedAt": "2026-02-06T00:00:00.000Z",
    "product": {
      "id": "prd_xxx",
      "name": "My Plugin",
      "slug": "my-plugin"
    },
    "customer": {
      "id": "cus_xxx",
      "email": "customer@example.com",
      "name": "John Doe"
    },
    "activations": [
      {
        "id": "act_xxx",
        "domain": "https://example.com",
        "status": "active",
        "activatedAt": "2026-02-06T00:00:00.000Z"
      }
    ]
  }
}

Example

bash
curl -X GET "https://api.packedge.dev/v1/licenses/lic_xxx" \
  -H "Authorization: Bearer pk_your_api_key"