ResourcesLicenses
Retrieve a license key
Retrieves the details of a specific license key by its unique ID (not key!)
Retrieves the details of a specific license key by its unique ID (not key!)
Refer to the license key model section for details on the returned object structure.
Authorization
bearerAuth AuthorizationBearer <token>
Provide your SellApp API key as a bearer token.
In: header
Path Parameters
license_key*integer
The license key path parameter.
Response Body
application/json
curl -X GET "https://sell.app/api/v2/license-keys/0"{
"data": {
"id": 1,
"key": "01965f1d-f038-7116-b57f-9e7ecb4e7b8f",
"limit": 4,
"active": 1,
"status": "ACTIVE",
"expires_at": "2025-05-22T20:08:39.000000Z",
"is_expired": 0,
"store_id": 1,
"order_id": 1,
"invoice_id": 1,
"product_id": 1,
"variant_id": 1,
"customer_id": 1,
"subscription_id": null,
"created_at": "2025-04-22T20:08:39.000000Z",
"updated_at": "2025-04-22T20:08:39.000000Z"
}
}List all license keys GET
Retrieves a paginated list of all license keys associated with your store. Standard pagination parameters (limit, page) can be used.
Update a license key PATCH
Updates specific properties of a license key. You can modify the activation limit, expiration date, and active status.