Bots.Business API v2
  1. Commands
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
        GET
      • Create Command
        POST
      • Get Command Details
        GET
      • Edit Command
        PUT
      • Delete Command
        DELETE
    • 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
      • Update admin panel values
    • Demo Store
      • Get store bots
      • Install demo bot
    • Get cloud plans
      GET
    • Schemas
      • Command Schema
      • User Public
      • Create & Edit Bot
      • Bot
  1. Commands

Get Command Details

GET
https://api.bots.business/v2/bots/{id}/commands/{command_id}
Last modified:2025-11-01 13:15:01
Use this endpoint to ge a single command

Request

Path Params

Query Params

Responses

🟢200Success
application/json
Body

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.bots.business/v2/bots/2792064/commands/69776371?api_key=hJIklVJx9-09-EfqnYa0uU0GgX7d-JyJdBUve8Bm'
Response Response Example
200 - Success
{
    "id": 69776371,
    "command": "/start",
    "bot_id": 2792064,
    "help": "Start the bot using this command",
    "created_at": "2025-10-26T09:36:59.735Z",
    "updated_at": "2025-10-26T09:36:59.735Z",
    "answer": "Welcome",
    "last_csv_import_at": "2025-10-26T09:36:59.735Z",
    "created_via_csv_import": false,
    "keyboard_body": "Contact Us, help",
    "need_reply": false,
    "auto_retry_time": 100,
    "last_auto_retry_at": "2025-10-26T09:36:59.735Z",
    "commands_folder_id": 7660462,
    "aliases": [
        {
            "id": 20802424,
            "command": "shuru",
            "bot_command_id": 69776371,
            "created_at": "2025-10-26T09:39:07.811Z",
            "updated_at": "2025-10-26T09:39:07.811Z"
        },
        {
            "id": 20802425,
            "command": "arambh",
            "bot_command_id": 69776371,
            "created_at": "2025-10-26T09:39:07.841Z",
            "updated_at": "2025-10-26T09:39:07.841Z"
        }
    ],
    "commands_folder": {
        "id": 7660462,
        "title": "Normal",
        "bot_id": 2792064,
        "created_at": "2025-10-26T09:35:56.927Z",
        "updated_at": "2025-10-26T09:35:56.927Z"
    },
    "code": "Bot.sendMessage(\"thank you for coming into this bot\");"
}
Modified at 2025-11-01 13:15:01
Previous
Create Command
Next
Edit Command
Built with