List Subscriptions
List all subscriptions with filtering and pagination
GET
Documentation Index
Fetch the complete documentation index at: https://docs.stateset.com/llms.txt
Use this file to discover all available pages before exploring further.
This endpoint retrieves a paginated list of subscriptions. Use filters to narrow results by status, customer, plan, and more.
Authentication
This endpoint requires a valid API key withsubscriptions:read permissions.
Query Parameters
Number of items to return (default: 20, max: 100)
Cursor for pagination (subscription ID)
Filter by status: “trialing”, “active”, “past_due”, “cancelled”, “unpaid”
Filter by customer ID
Filter by plan ID
Filter by creation date start (ISO 8601)
Filter by creation date end (ISO 8601)
Show subscriptions ending before date
Sort field: “created_at”, “start_date”, “total_amount”
Sort order: “asc” or “desc”
Response
Object type, always “list”
Array of subscription objects
Whether more items exist