List all subscriptions

GET https://api.tamio.com/v2/subscriptions/list

Returns a paginated list of subscriptions. Supports filtering by customer, product, instalment plan, billing cycle, currency, status flags (cancelled, completed, paused, instalments), date range, and free-text search.

Query Parameters

page integer*

Page number for pagination.

per_page integer*

Number of subscriptions per page.

order string

Sort direction.

ascdesc
sort_by string

Field to sort by.

emailnext_billing_datestatusdatecancelledpayment_count
filter string

Free-text search across subscription data.

from string

Start date filter (ISO string or Unix timestamp).

to string

End date filter (ISO string or Unix timestamp).

customer_id string

Filter by customer UUID.

product_id string

Filter by product UUID.

instalment_plan_id string

Filter by instalment plan UUID.

cancelled boolean

Show only cancelled subscriptions.

completed boolean

Show only completed subscriptions.

exclude_paused boolean

Exclude paused subscriptions from results.

instalments boolean

Show only instalment-based subscriptions.

billing_cycle string

Filter by billing frequency.

dayweekmonthyear
currency string

Filter by ISO currency code.

Responses

200 Paginated list of subscriptions

Paginated list of subscriptions

status integer
total_results integer
subscriptions array of Subscription
400 Validation or business-logic error
401 Missing or invalid API key
/subscriptions/list
1const response = await fetch("https://api.tamio.com/v2/subscriptions/list", {
2 headers: {
3 "Authorization": "Bearer YOUR_API_KEY",
4 "Accept": "application/json"
5 }
6});
7const data = await response.json();
Responses
{
  "status": 200,
  "total_results": 85,
  "subscriptions": []
}