Dashboard
APIList Coupons API - View Discount Codes | BotSubscription
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_•••'

List Coupons - View All Discount Codes for Your Bot

Get all discount codes configured for your subscription bot. Filter by status (active, expired, archived), search by code, or find coupons that apply to specific plans. Each coupon includes redemption statistics and configuration details.

GET/v2/projects/{project_id}/coupons

Authorization

Bearer TokenRequired

Path Parameters

project_idstringrequired

The unique identifier of the project.

Query Parameters

limitinteger

Number of items per page. Default: 50

offsetinteger

Number of items to skip. Default: 0

statusstring

Filter by status: active, expired, archived

auto_applyboolean

Filter by auto-apply setting

searchstring

Search by coupon code

plan_idstring

Filter by applicable plan ID

sortstring

Sort field (e.g., created_at, code)

orderstring

Sort order: asc or desc

Last updated: