List all license keys
Retrieves a paginated list of all license keys associated with your store. Standard pagination parameters (limit, page) can be used.
Retrieves a paginated list of all license keys associated with your store. Standard pagination parameters (limit, page) can be used.
Refer to the license key model section for details on the returned object structure.
Optional Query Parameters
- Name
limitinteger- Description
Limit the number of license keys returned per page.
- Name
pageinteger- Description
The page number to retrieve.
Authorization
bearerAuth Provide your SellApp API key as a bearer token.
In: header
Query Parameters
Limit the number of blacklist rules returned.
151 <= value <= 100The page number you are attempting to access.
11 <= valueResponse Body
application/json
curl -X GET "https://sell.app/api/v2/license-keys"{
"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"
}
]
}Validate a license key POST
Checks if a given license key and instance ID pair represents a valid, active license activation. This is the primary endpoint to use within your application to verify a user's license status periodically.
Retrieve a license key GET
Retrieves the details of a specific license key by its unique ID (not key!)