Bots Business Api
  1. Commands
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
    • Get Command Details
      GET
    • Create Command
      POST
    • 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 panels
    • Save panel value
  1. Commands

Get Command Details

GET
/bots/{id}/commands/{command_id}
Use this endpoint to ge a single command

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/2792064/commands/69776371?api_key=hJIklVJx9-09-EfqnYa0uU0GgX7d-JyJdBUve8Bm'

Responses

🟢200Success
application/json
Body

Example
{
    "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": null,
    "created_via_csv_import": null,
    "keyboard_body": "Contact Us, help",
    "need_reply": false,
    "auto_retry_time": null,
    "last_auto_retry_at": null,
    "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\");"
}
Previous
Get Commands
Next
Create Command
Built with