List subscriptions
curl "https://api.summerbase.com/v1/subscriptions" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/subscriptions", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()The subscriptions of the project you are working in.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Only this customer’s. Our id, or any source identity for them.
Only subscriptions in this state.
How many records to return, 1 to 100. Defaults to 20.
The next_cursor of the previous page, to read the page after it.
Whether to add total_count, how many records match altogether. On the first page only: it is the same number on every page of one list, so keep the first page’s, and it is refused beside a cursor.
Relationships to include in the response instead of fetching separately. A dotted path expands what an expanded record can expand in turn — at most 4 deep, 10 paths a request, and never back to a record already on the path.
Response
Section titled “Response”Returns a list of subscription objects, a page at a time. See Pagination.
Example
{ "data": [ { "annual_amount": "15000.00", "billing_amounts": [ { "interval": "month", "interval_count": 1, "net_amount": "1250.00" } ], "cancels_at": null, "currency_code": "USD", "current_period_ends_at": "2026-11-01T10:04:00Z", "customer_id": "0199a7c2-4e1b-7f38-b9d2-5a6c8e0f1d73", "ended_at": null, "id": "0199a7c2-5b3e-7a14-8c6d-2f9e4b7a1c05", "identities": [ "stripe:sub_1QhT5uV7wX9yZ2aB" ], "monthly_amount": "1250.00", "object": "subscription", "owner_source_id": "0198f1a3-0b7c-7e25-9f41-6a2d8c3e5b19", "properties": { "account_manager": "Priya Shah" }, "properties_by_source": { "backend": { "account_manager": "Priya Shah" }, "stripe": { "contract_id": "C-2025-118" } }, "recorded_at": "2025-11-17T10:04:03Z", "started_at": "2025-11-17T10:04:00Z", "status": "active", "trial_ends_at": "2025-12-01T10:04:00Z" } ], "has_more": false, "next_cursor": null, "object": "list", "total_count": 1}