Skip to main content
GET
List Subscriptions
Click the base URL in the API playground and select the Sandbox host for test data or the Production host for live data. Use credentials from the same environment.

Authorizations

Authorization
string
header
required

The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Query Parameters

customer_id
string

Optional. The client-defined unique identifier of the customer whose subscriptions will be returned.

status
string

Optional. Filter by subscription status. Accepts a comma-separated list to match any of several statuses, e.g. active,trialing. Common values: incomplete, incomplete_expired, trialing, active, past_due, canceled. See the endpoint description above for how this changes the deduplication behavior of the response.

Example:

"active,trialing"

page_size
integer

Number of results to return per page. Defaults to 10, maximum 100.

Required range: 1 <= x <= 100
page
integer

The initial index from which to return the results.

Response

200 - application/json

A paginated list of subscriptions.

count
integer
next
string<uri> | null
previous
string<uri> | null
results
object[]