GET
/
subscriptions

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

page
integer

Page number.

per_page
integer

Number of records per page.

external_customer_id
string

The customer external unique identifier (provided by your own application)

plan_code
string

The unique code representing the plan to be attached to the customer. This code must correspond to the code property of one of the active plans.

status[]
enum<string>[]

If the field is not defined, Lago will return only active subscriptions. However, if you wish to fetch subscriptions by different status you can define them in a status[] query param. Available filter values: pending, canceled, terminated, active.

Available options:
pending,
canceled,
terminated,
active

Response

200 - application/json
subscriptions
object[]
required
meta
object
required