import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const entitlements = await client.v1.addons.entitlements.list('addonId');
console.log(entitlements.data);{
"data": [
{
"id": "feature-api-calls",
"description": "Extra API calls",
"isGranted": true,
"isCustom": false,
"order": 0,
"behavior": "Increment",
"hiddenFromWidgets": [],
"displayNameOverride": null,
"createdAt": "2025-04-16T00:03:13.707Z",
"updatedAt": "2026-09-22T16:39:25.667Z",
"type": "FEATURE",
"usageLimit": 1000,
"hasUnlimitedUsage": false,
"hasSoftLimit": false,
"resetPeriod": null,
"resetPeriodConfiguration": null,
"enumValues": null
}
],
"pagination": {
"next": "c9b0a382-5b7d-4d32-9f62-8c4e1a7b3d9f",
"prev": "a1d4e8f2-6c3b-4a9e-b5f7-2d8c9e0f1a3b"
}
}Retrieves a list of entitlements for an addon.
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
const entitlements = await client.v1.addons.entitlements.list('addonId');
console.log(entitlements.data);{
"data": [
{
"id": "feature-api-calls",
"description": "Extra API calls",
"isGranted": true,
"isCustom": false,
"order": 0,
"behavior": "Increment",
"hiddenFromWidgets": [],
"displayNameOverride": null,
"createdAt": "2025-04-16T00:03:13.707Z",
"updatedAt": "2026-09-22T16:39:25.667Z",
"type": "FEATURE",
"usageLimit": 1000,
"hasUnlimitedUsage": false,
"hasSoftLimit": false,
"resetPeriod": null,
"resetPeriodConfiguration": null,
"enumValues": null
}
],
"pagination": {
"next": "c9b0a382-5b7d-4d32-9f62-8c4e1a7b3d9f",
"prev": "a1d4e8f2-6c3b-4a9e-b5f7-2d8c9e0f1a3b"
}
}Server API Key
The addon ID
1 - 255^[a-zA-Z0-9][a-zA-Z0-9_|.-]*$A list of addon entitlement objects.
Response list object
Feature entitlement response
Show child attributes
Pagination metadata including cursors for navigating through results
Show child attributes