Skip to main content
GET
/
subscriptions
List subscriptions
curl --request GET \
  --url https://api.lava.so/v1/subscriptions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "subscription_id": "<string>",
      "subscription_config_id": "<string>",
      "connection_id": "<string>",
      "status": "active",
      "started_at": "2023-11-07T05:31:56Z",
      "cancelled_at": "2023-11-07T05:31:56Z",
      "cycle_start_at": "2023-11-07T05:31:56Z",
      "cycle_end_at": "2023-11-07T05:31:56Z",
      "plan": {
        "name": "<string>",
        "period_amount": "<string>",
        "included_credit": "<string>",
        "billing_interval": "day",
        "rollover_type": "full",
        "bundle_rollover_type": "full"
      },
      "credits": {
        "total_remaining": "<string>",
        "cycle_remaining": "<string>",
        "bundle_remaining": "<string>"
      },
      "customer": {
        "phone": "<string>",
        "email": "<string>",
        "first_name": "<string>",
        "last_name": "<string>"
      },
      "pending_change": {}
    }
  ],
  "has_more": true,
  "next_cursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer token authentication used for standard API calls. Format: 'Bearer YOUR_API_KEY'

Query Parameters

status
enum<string>
default:active

Filter by subscription status (default: active)

Available options:
active,
cancelled,
all
connection_id
string

Filter by connection ID

cursor
string

Pagination cursor from a previous response

limit
integer
default:10

Maximum number of results to return (1-100)

Required range: 1 <= x <= 100

Response

List of subscriptions

data
object[]
required
has_more
boolean
required
next_cursor
string | null