Dashboard
APISubscription Bot Access Token Eligibility API
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_•••'

Check Subscription Bot Access Token Eligibility

Preview whether your Telegram subscription bot or Discord subscription bot project can generate a batch of the requested size.

GET/v2/projects/{project_id}/access-tokens/eligibility

Authorization

Bearer TokenRequired

Requires memberships:add for a human admin. Restricted project API keys need access-tokens:create.

Path Parameters

project_idstringrequired

The UUID of the project.

Query Parameters

countintegerDefault: 1

Requested batch size, from 1 to 100.

Behavior and recovery

Optional query count is 1–100, default 1. The response data contains allowed (boolean), remaining (integer or null), and reason (string or null). This is a preview; activation checks the current quota again. Unknown query fields return 422.

allowed is a boolean, remaining is an integer or null, and reason is a string or null. This preview does not reserve quota.

Use Prepare Tokens to save a batch, then Activate Tokens to issue it against the current quota.

Last updated: