License Key Instances
In Lemon Squeezy, a license key instance represents a single instance (or activation) of a license key that has been issued to a customer.
A license key instance belongs to a License Key.
Note, if you're looking to integrate license keys into your application (e.g. activate/validate/deactivate license keys), see our separate license API documentation.
The license key instance object
Attributes
license_key_id
The ID of the license key this instance belongs to.
identifier
The unique identifier (UUID) for this instance. This is the instance_id
returned when activating a license key.
name
The name of the license key instance.
created_at
An ISO 8601 formatted date-time string indicating when the object was created.
updated_at
An ISO 8601 formatted date-time string indicating when the object was last updated.
License key instance object
Retrieve a license key instance
Retrieves the license key instance with the given ID.
GET /v1/license-key-instances/:id
Returns
Returns a license key instance object.
Response
List all license key instances
Returns a paginated list of license key instances.
Parameters
license_key_id
Only return instances belonging to the license key with this ID.
GET /v1/license-key-instances
Returns
Returns a paginated list of license key instance objects ordered by id
.