Bots.Business API v2
  1. Admin Panel
Bots.Business API v2
  • Bots.Business API v2
    • BB Api docs
    • Authentication
      • Sign in
      • Get Telegram login URL
      • Sign up
      • Telegram login
      • Reset Password
    • User account
      • Update password
      • Get user details
      • Update email
      • Get linked telegram accounts
      • Get telegram link url
      • Get users session token
      • Reset api key
      • Log out all device
      • Get iteration usage
      • Turn ON or OFF ads
      • Get payment plan
    • Bots
      • Create Bot
      • Get Bots
      • Get single bot
      • Edit Bot
      • Delete Bot
      • Start or Stop bot
      • Start CSV import
      • CSV import task status
      • Copy Bot
      • Git export
      • Git import
      • Get installed libraries
      • Install Lib
      • Uninstall lib
      • Get error log
      • Clear error logs
    • Commands
      • Folders
        • Create a folder
        • Get all folders
        • Delete a folder
      • Get Commands
      • Create Command
      • Get Command Details
      • Edit Command
      • Delete Command
    • Broadcast
      • Get broadcast tasks
      • Delete Broadcast task
      • Pause broadcast task
      • Resume broadcast task
    • Chats
      • Get chats
      • Block chat
      • Unblock chat
    • Properties
      • Get properties
      • Delete property
    • Libraries
      • Get libraries
    • Admin Panel
      • Get admin panels
        GET
      • Update admin panel values
        PUT
    • Demo Store
      • Get store bots
      • Install demo bot
    • Get cloud plans
      GET
    • Schemas
      • Command Schema
      • User Public
      • Create & Edit Bot
      • Bot
  1. Admin Panel

Get admin panels

GET
https://api.bots.business/v2/bots/{id}/active_options
Last modified:2025-10-31 10:37:20
Use this endpoint to retrieve a list of all available admin panels for your bot configuration and management.

Request

Path Params

Query Params

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.bots.business/v2/bots/123/active_options?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'
Response Response Example
200 - Success
{
    "title": "Example Admin Panel",
    "description": "This panel demonstrates all available field types",
    "index": 0,
    "icon": "settings",
    "button_title": "SAVE CONFIGURATION",
    "on_saving": {
        "command": "/on-admin-panel-save",
        "user_id": 42470958
    },
    "fields": [
        {
            "name": "BOT_NAME",
            "title": "Bot Name",
            "description": "The display name of your bot",
            "type": "string",
            "placeholder": "My Awesome Bot",
            "value": "My Bot",
            "icon": "chatbubble"
        },
        {
            "name": "API_SECRET",
            "title": "API Secret Key",
            "description": "Your secure API key (will be hidden)",
            "type": "password",
            "placeholder": "Enter your secret key",
            "value": "",
            "icon": "key"
        },
        {
            "name": "MAX_USERS",
            "title": "Maximum Users",
            "description": "Maximum number of users allowed",
            "type": "integer",
            "placeholder": "1000",
            "value": 500,
            "icon": "people"
        },
        {
            "name": "PRICE",
            "title": "Product Price",
            "description": "Price of your product (supports decimals)",
            "type": "float",
            "placeholder": "19.99",
            "value": 9.99,
            "icon": "pricetag"
        },
        {
            "name": "IS_ACTIVE",
            "title": "Bot Active",
            "description": "Enable or disable the bot functionality",
            "type": "checkbox",
            "value": true,
            "icon": "power"
        },
        {
            "name": "WELCOME_MESSAGE",
            "title": "Welcome Message",
            "description": "Message sent to new users",
            "type": "text",
            "placeholder": "Enter your welcome message here...",
            "value": "Hello! Welcome to our bot!",
            "icon": "document-text"
        }
    ]
}
Modified at 2025-10-31 10:37:20
Previous
Get libraries
Next
Update admin panel values
Built with