Bots Business Api
  1. Bots
Bots Business Api
  • Get started
  • Authentication
    • Sign in
    • Get Telegram login URL
    • Sign up
    • 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
    • Get iteration usage
    • Turn ON or OFF ads
    • Get payment plan
  • Bots
    • Create Bot
      POST
    • Get Bots
      GET
    • Get single bot
      GET
    • Edit Bot
      PUT
    • Delete Bot
      DELETE
    • Start or Stop bot
      POST
    • Start CSV import
      POST
    • CSV import task status
      GET
    • Copy Bot
      GET
    • Git export
      POST
    • Git import
      POST
    • Get installed libraries
      GET
    • Install Lib
      POST
    • Uninstall lib
      DELETE
    • Get error log
      GET
    • Clear error logs
      DELETE
  • Commands
    • Folders
      • Create a folder
      • Delete 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 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. Bots

Create Bot

POST
https://appapi.bots.business/v2/bots
Use this endpoint to create a new bot.

Request

Query Params

Body Params application/jsonRequired

Example
{
    "name": "My new bot",
    "token": "110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
    "csv_url": "String",
    "git_remote": "String"
}

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 POST 'https://appapi.bots.business/v2/bots?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "My new bot",
    "token": "110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
    "csv_url": "String",
    "git_remote": "String"
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 2792787,
    "name": "My new bot",
    "token": "110201543:AAHdqTcvCH1vGWJxfSeofSAs0K5PALDsaw",
    "created_at": "2025-10-25T10:14:49.880Z",
    "updated_at": "2025-10-25T10:14:50.181Z",
    "csv_url": "https://example.com/mybot.csv",
    "last_run_at": "2025-10-25T10:14:49.880Z",
    "store_bot_id": 123,
    "git_remote": "https://github.com/bots-business/TalkWithAdminBot.git",
    "rsa_public_key": "ssh-ed25519 AAAAC3NzaC1l...Tfl0Pg bot_2794952@bots.business",
    "is_protected": false,
    "cloud_id": 123,
    "dead_at": "2025-10-25T10:14:49.880Z",
    "pic_url": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRCJ7n7Rar-oteLCggjf_X3pnLA7V8SHBtpuQ&s",
    "invalid_token_at": "2025-10-25T10:14:49.880Z",
    "status": "works"
}
🟠401
🟠404
🟢200needremove
Previous
Get payment plan
Next
Get Bots
Built with