Pagination
List endpoints support cursor-based pagination using the following query parameters:
Paginated response structure:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Cursor-based pagination and filtering for REST list endpoints
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of items to return (default: 20, max: 100) |
starting_after | string | Cursor for forward pagination (item ID to start after) |
ending_before | string | Cursor for backward pagination (item ID to end before) |
{
"data": [...],
"has_more": true,
"next_cursor": "cus_abc123"
}
# First page
curl -X GET "https://api.stigg.io/api/v1/customers?limit=10" \
-H "X-API-KEY: your-api-key"
# Next page
curl -X GET "https://api.stigg.io/api/v1/customers?limit=10&starting_after=cus_abc123" \
-H "X-API-KEY: your-api-key"
# Filter customers by email
curl -X GET "https://api.stigg.io/api/v1/customers?email=user@example.com" \
-H "X-API-KEY: your-api-key"
# Filter subscriptions by status
curl -X GET "https://api.stigg.io/api/v1/subscriptions?status=active" \
-H "X-API-KEY: your-api-key"