Bots Business Api
  1. Admin Panel
Bots Business Api
  • Authentication
    • Login Account
    • Register New User
    • Get telegram login url
    • Telegram login
    • Reset Password
  • User account
    • Get user details
    • Update email
    • Update password
    • Get linked telegram accounts
    • Get telegram link url
    • Get users session token
    • Reset api key
    • Log out all device
  • Bots
    • Create Bot
    • Get Bots
    • Edit Bot
    • Launch or Stop Bot
    • Start CSV import
    • CSV import task status
    • Delete Bot
    • Copy Bot
    • Git export
    • Git import
    • Get installed libraries
    • Install Lib
    • Uninstall lib
    • Get error log
    • Clear error logs
  • Commands
    • Folders
      • Create a folder
      • Delet a folder
      • Get all folders
    • Get Commands
    • Get Command Details
    • Create Command
    • 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 panels
      GET
    • Save panel value
      PUT
  1. Admin Panel

Get panels

Developing
GET
/bots/{id}/active_options
Use this endpoint to retrieve a list of all available admin panels for your bot configuration and management.

Request

Path Params

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/bots/123/active_options?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'

Responses

🟢200Success
application/json
Body

Example
[
    {
        "id": 831882252,
        "bot_id": 2776468,
        "name": "AdminInfo",
        "created_at": "2025-10-27T09:30:35.787Z",
        "updated_at": "2025-10-27T09:30:35.787Z",
        "size": 1373,
        "bot_list_id": null,
        "value": {
            "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"
                }
            ]
        },
        "type": "active_option"
    }
]
Previous
Get libraries
Next
Save panel value
Built with