Dashboard
APIList Memberships API - Active Subscriptions | BotSubscription
api.botsubscription.com
GET/v1/endpoint
AuthenticationBearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Mock
curl --request GET \
  --url https://api.botsubscription.com/v1/endpoint \
  --header 'Authorization: Bearer sk_live_•••'

List Memberships - View Active Subscriptions in Your Bot

Get all active and past subscriptions across your project. Each membership record shows which user holds it, the plan they purchased, subscription dates, and renewal status. You can filter by user ID to view a specific member's subscription history.

membership_end_date may be null for memberships with no scheduled end date. The subscription_id and subscription_status fields are populated only for recurring memberships and may otherwise be null or omitted.

GET/v2/projects/{project_id}/memberships

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

Query Parameters

user_idstring

Filter memberships to a single user. When using a user-scoped token, either provide this or set all=true.

allboolean

Request every membership in the project. Project API keys return all memberships by default; user-scoped tokens must set all=true to list beyond their own.

limitintegerDefault: 10

Number of items per page (1–100).

offsetintegerDefault: 0

Number of items to skip.

Last updated: