Bots.Business API v2
  1. User account
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
        PUT
      • Get user details
        GET
      • Update email
        POST
      • Get linked telegram accounts
        GET
      • Get telegram link url
        GET
      • Get users session token
        GET
      • Reset api key
        POST
      • Log out all device
        DELETE
      • Get iteration usage
        GET
      • Turn ON or OFF ads
        POST
      • Get payment plan
        GET
    • 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
      • Create Command
      • Get Command Details
      • 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. User account

Get user details

GET
https://api.bots.business/v2/user
Last modified:2025-10-31 10:37:20
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

Responses

🟢200OK
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

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.bots.business/v2/user?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I' \
--header 'Access-Token: bDNs8xfLnv5dDKImEkOmPg' \
--header 'Client: fuaKw10KjdXS7u7yh_5wZg' \
--header 'Uuid: user@examole.com'
Response Response Example
200 - Success
{
    "id": 52795760,
    "created_at": "2025-10-25T06:45:46.900Z",
    "api_key": "UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I",
    "email": "22dee9af862ac655@auth.bots.business"
}
Modified at 2025-10-31 10:37:20
Previous
Update password
Next
Update email
Built with