Skip to main content
GET
List all subscriptions

Authorizations

x-api-key
string
header
required

API key for authentication. You can find your API key in the Creem dashboard under Settings > API Keys.

Query Parameters

page_number
number
default:1

The page number for pagination.

Example:

1

page_size
number
default:10

The number of items per page.

Example:

10

product_id
string

Only subscriptions of this product.

Example:

"prod_1234567890"

price_id
string

Only subscriptions on this price version: a price id as GET /v1/products/{id}/prices lists it. A price change creates a new version, and running subscriptions stay on theirs, so this lists who is still on an older price. A subscription is on the versions of its items (items[].price_id), counting only items that are neither deleted nor usage prices; one without such an item is on its own version. This lists exactly the subscriptions the per-version counts of GET /v1/products/{id}/prices count, except that the counts include running subscriptions only: add status with the six running statuses to list exactly those. To move one subscription to another price, send items[].price_id to POST /v1/subscriptions/{id}.

Example:

"pprice_1234567890"

status
enum<string>[]

Only subscriptions in this status. Repeat the parameter for several (status=active&status=past_due); they combine with OR. The running statuses are active, trialing, past_due, scheduled_cancel, paused and unpaid.

Available options:
incomplete,
expired,
active,
past_due,
canceled,
scheduled_cancel,
unpaid,
paused,
trialing,
error
Example:
customer_id
string

Only subscriptions of this customer.

Example:

"cust_1234567890"

Response

Successfully retrieved subscriptions

items
object[]
required

List of subscription items

pagination
object
required

Pagination details for the list