import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const addonListResponse of client.v1.addons.list()) {
console.log(addonListResponse.id);
}{
"data": [
{
"id": "addon-extra-seats",
"displayName": "Extra Seats",
"description": "Additional team member seats",
"productId": "product-starter",
"status": "PUBLISHED",
"pricingType": "PAID",
"billingId": "price_1234567890",
"versionNumber": 1,
"isLatest": true,
"entitlements": [
{
"type": "FEATURE",
"id": "feature-advanced-analytics"
},
{
"type": "CREDIT",
"id": "api-calls"
}
],
"metadata": {},
"createdAt": "2026-04-11T00:27:53.692Z",
"updatedAt": "2026-03-16T06:37:21.164Z",
"maxQuantity": 100,
"dependencies": [
"addon-premium-support"
]
}
],
"pagination": {
"next": "c9b0a382-5b7d-4d32-9f62-8c4e1a7b3d9f",
"prev": "a1d4e8f2-6c3b-4a9e-b5f7-2d8c9e0f1a3b"
}
}Retrieves a paginated list of addons in the environment.
import Stigg from '@stigg/typescript';
const client = new Stigg({
apiKey: process.env['STIGG_API_KEY'], // This is the default and can be omitted
});
// Automatically fetches more pages as needed.
for await (const addonListResponse of client.v1.addons.list()) {
console.log(addonListResponse.id);
}{
"data": [
{
"id": "addon-extra-seats",
"displayName": "Extra Seats",
"description": "Additional team member seats",
"productId": "product-starter",
"status": "PUBLISHED",
"pricingType": "PAID",
"billingId": "price_1234567890",
"versionNumber": 1,
"isLatest": true,
"entitlements": [
{
"type": "FEATURE",
"id": "feature-advanced-analytics"
},
{
"type": "CREDIT",
"id": "api-calls"
}
],
"metadata": {},
"createdAt": "2026-04-11T00:27:53.692Z",
"updatedAt": "2026-03-16T06:37:21.164Z",
"maxQuantity": 100,
"dependencies": [
"addon-premium-support"
]
}
],
"pagination": {
"next": "c9b0a382-5b7d-4d32-9f62-8c4e1a7b3d9f",
"prev": "a1d4e8f2-6c3b-4a9e-b5f7-2d8c9e0f1a3b"
}
}Server API Key
Return items that come after this cursor
Return items that come before this cursor
Maximum number of items to return
1 <= x <= 100Filter by product ID
255Filter by status. Supports comma-separated values for multiple statuses
Filter by creation date using range operators: gt, gte, lt, lte
Show child attributes