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

Get Project Plan - Fetch Subscription Plan Details via API

Retrieve a subscription plan by its ID for your Telegram or Discord subscription bot.

GET/v2/projects/{project_id}/plans/{plan_id}

Authorization

NonePublic

No API key required. This is a public endpoint. A restricted key without a matching scope is treated as a guest; plan visibility and not-found rules still apply.

Path Parameters

project_idstringrequired

The unique identifier of the project.

plan_idstringrequired

The unique identifier of the plan.

Read a plan before editing

With an unrestricted project API key, this response includes an opaque revision. Restricted keys and unauthenticated requests omit it. Send that value as expected_revision when updating to prevent overwriting another edit. The list and creation responses do not include revisions.

Read with Authorization: Bearer YOUR_API_KEY when preparing an edit; the public request below intentionally does not request editing metadata. See conditional plan updates.

Last updated: