Skip to main content

Get all subscriptions for a customer

Route

GET
/api/v1/subscriptions?external_customer_id=id

Usage

LAGO_URL="https://api.getlago.com"
API_KEY="__YOUR_API_KEY__"

curl --location --request GET "$LAGO_URL/api/v1/subscriptions?external_customer_id=123" \
--header "Authorization: Bearer $API_KEY"

Arguments

AttributesTypeDescription
external_customer_idString      RequiredUnique identifer of the customer in your application.

Responses

Subscriptions were successfully found. Returns a list of [subscription](./subscription-object) objects.