Retrieve a License Key Instance
GET
/v1/license-key-instances/:id
Retrieves the license key instance with the given ID.
curl "https://api.lemonsqueezy.com/v1/license-key-instances/1" \
-H 'Accept: application/vnd.api+json' \
-H 'Content-Type: application/vnd.api+json' \
-H 'Authorization: Bearer {api_key}'
Returns
Returns a License Key Instance object.
{
"jsonapi": {
"version": "1.0"
},
"links": {
"self": "https://api.lemonsqueezy.com/v1/license-key-instances/1"
},
"data": {
"type": "license-key-instances",
"id": "1",
"attributes": {
"license_key_id": 1,
"identifier": "f70a79fa-6054-433e-9c1b-6075344292e4",
"name": "example.com",
"created_at": "2022-11-14T11:45:39.000000Z",
"updated_at": "2022-11-14T11:45:39.000000Z"
},
"relationships": {
"license-key": {
"links": {
"related": "https://api.lemonsqueezy.com/v1/license-key-instances/1/license-key",
"self": "https://api.lemonsqueezy.com/v1/license-key-instances/1/relationships/license-key"
}
}
},
"links": {
"self": "https://api.lemonsqueezy.com/v1/license-key-instances/1"
}
}
}