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

List Subscription Bot Access Tokens

Read and filter access-token metadata for your Telegram subscription bot or Discord subscription bot. Plaintext codes and activation tickets are never returned.

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

Authorization

Bearer API KeyRequired

API key scope: access-tokens:read (required for restricted keys).

Path Parameters

project_idstringrequired

The UUID of the project.

Query Parameters

limitintegerDefault: 25

Page size from 1 to 100.

offsetintegerDefault: 0

Nonnegative number of rows to skip.

statusstringDefault: all

active, claimed, revoked, billing_pending, or all.

plan_idstring

Filter by plan UUID.

created_bystring

Creator user ID or key:<api key id>.

claimed_bystring

Claimant user ID.

created_frominteger

Inclusive creation lower bound, 13-digit Unix milliseconds.

created_tointeger

Inclusive creation upper bound, 13-digit Unix milliseconds.

claimed_frominteger

Inclusive claim lower bound, 13-digit Unix milliseconds.

claimed_tointeger

Inclusive claim upper bound, 13-digit Unix milliseconds.

Behavior and recovery

Filters combine with AND. Date bounds are inclusive exact instants, with no day-start or day-end expansion. Equal bounds are valid. Claimed-date filters exclude unclaimed tokens.

created_from, created_to, claimed_from, and claimed_to accept 13-digit Unix milliseconds. ISO dates, 10-digit Unix seconds, empty values, unknown query fields, and reversed date bounds return 422. For example, use created_from=1700000000000&created_to=1700000000000.

The UTC ISO response format does not change these filter inputs.

Only activated tokens appear in this list. See Prepare Tokens for code capture, or Revoke Token to disable an unused code.

Note

Response examples use the UTC ISO date format.

Last updated: