Bots Business Api
  1. Authentication
Bots Business Api
  • Authentication
    • Login Account
      POST
    • Register New User
      POST
    • Get telegram login url
      POST
    • Telegram login
      GET
    • Reset Password
      POST
  • 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
  • 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
  1. Authentication

Login Account

POST
/auth/sign_in
Use this endpoin to login your bots business account and obtain credentials, only the headers you will need to make each request and obtained your api_key.

Request

Body Params application/jsonRequired

Example
{
    "email": "user@example.com",
    "password": "#mypassword123"
}

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 '/auth/sign_in' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "user@example.com",
    "password": "#mypassword123"
}'

Responses

🟢200Success
application/json
Headers

Body

Example
{
    "data": {
        "id": 22425807,
        "first_name": "Captain",
        "last_name": "Cool",
        "username": "username",
        "telegramid": 123456789,
        "language_code": "en"
    }
}
Next
Register New User
Built with