Bots Business Api
  1. User account
Bots Business Api
  • Authentication
    • Login Account
    • Register New User
    • Get telegram login url
    • Telegram login
    • Reset Password
  • User account
    • Get user details
      GET
    • Update email
      POST
    • Update password
      PUT
    • Get linked telegram accounts
      GET
    • Get telegram link url
      GET
    • Get users session token
      GET
    • Reset api key
      POST
    • Log out all device
      DELETE
  • 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
    • Save panel value
  1. User account

Get user details

GET
/user
Use this enpoin to get user details includng api_key which an be used to send request to othe rendpoints.
You will have to put the Access-Token, Client and Uuid on headers of the request or you can simply use api_key for more sufficient.

API Authentication#

The API supports two authentication methods:
1.
Using an API Key: You can interact with any API endpoint by including your api_key as a query parameter in the endpoint URL.
2.
Using Headers: Alternatively, you can add the following headers to your request:
Access-Token
Client
Uid
Important Note: The values provided for the headers are for single-use only. You will receive new values for them in the headers of each API response.
Recommendation: After a successful login or registration, call the "Get User Details" API endpoint using the initial headers to retrieve your permanent API key. You should then use this api_key for all future requests, as it provides a more straightforward authentication method. We will not repeat telling you this on every page, we will be using api_key at params, you will chose what best for you.

Request

Query Params

Header 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 '/user?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I' \
--header 'Access-Token: bDNs8xfLnv5dDKImEkOmPg' \
--header 'Client: fuaKw10KjdXS7u7yh_5wZg' \
--header 'Uuid: user@examole.com'

Responses

🟢200Success
application/json
These headers can be used to next api call.
Note that the validity of these values is one-time-use, Means - You will get new header values from response header of another api call
NOTE: You do not need headers to request an api if you use api_key, This is more sufficient way
Headers

Body

Example
{
    "id": 52795760,
    "created_at": "2025-10-25T06:45:46.900Z",
    "api_key": "UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I",
    "email": "22dee9af862ac655@auth.bots.business"
}
🟠401Unauthorized
Previous
Reset Password
Next
Update email
Built with