Dashboard
APIList Targets API - View Access Destinations | 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_•••'

List Targets - View All Access Destinations via API

Get all access destinations configured for your subscription bot. Targets are the Discord roles or Telegram channels/groups that members gain access to when they subscribe. Each target shows its platform, type, enabled status, and current participant count.

GET/v2/projects/{project_id}/targets

Authorization

Bearer API KeyRequired

API key scope: targets:read (required for restricted keys).

Path Parameters

project_idstringrequired

The unique identifier of the project.

Query Parameters

limitinteger

Number of items per page.

offsetinteger

Number of items to skip.

The optional metadata below applies to each target in data. Optional keys may be omitted; a nullable field may be present with null.

Response Metadata

parent_target_idstring | null

Optional parent target UUID; null when there is no parent.

participant_countinteger

Optional nonnegative participant count.

originstring

Optional target origin: manual or auto-discovered.

discovered_atstring | null

Optional discovery time as a UTC ISO 8601 timestamp, or null when no discovery time is recorded.

Last updated: