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.
Authorization
Requires memberships:read for a human admin. Restricted project API keys need access-tokens:read.
Path Parameters
project_idstringrequiredThe UUID of the project.
Query Parameters
limitintegerDefault: 25Page size from 1 to 100.
offsetintegerDefault: 0Nonnegative number of rows to skip.
statusstringDefault: allactive, claimed, revoked, billing_pending, or all.
plan_idstringFilter by plan UUID.
created_bystringCreating admin user ID or key:<api key id>.
claimed_bystringClaimant user ID.
created_fromintegerInclusive creation lower bound, Unix milliseconds.
created_tointegerInclusive creation upper bound, Unix milliseconds.
claimed_fromintegerInclusive claim lower bound, Unix milliseconds.
claimed_tointegerInclusive claim upper bound, Unix milliseconds.
Behavior and recovery
Filters combine with AND. Unknown query fields, invalid values, and reversed date bounds return 422.
Rows include access_token_id, plan_id, duration fields, created_at, revoked_at, claimed_at, claimed_by, claimed_membership_id, and grant_end_date. Nullable fields describe events that have not happened. Billing fields may also be present. All timestamps here are Unix milliseconds, with null for no expiration.
created_by, code_hint (last six code characters), and note help identify batches. No plaintext code or token hash is returned. A list cannot recover lost codes.
Only activated tokens appear in this list. See Prepare Tokens for code capture, or Revoke Token to disable an unused code.