Dashboard
APIGet Target API - Access Destination 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 Target - Fetch Access Destination Details via API

Retrieve a configured Discord role or Telegram channel or group by its internal target ID.

plan_count includes universal plans and retained links from archived plans. It is not a count of active memberships or proof that a target is used by an active plan.

GET/v2/projects/{project_id}/targets/{target_id}

Authorization

Bearer API KeyRequired

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

Path Parameters

project_idstringrequired

The unique identifier of the project.

target_idstringrequired

The internal target ID (UUID).

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: