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

Reset api key

POST
https://api.bots.business/v2/user/reset_api_key
Last modified:2025-10-31 10:37:20
Use this endpoint to reset user api_key, no need to send any data in post

Request

Query Params

Responses

🟢200OK
application/json
Body

🟠401Unauthorized
🟠404Not Found
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.bots.business/v2/user/reset_api_key?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'
Response Response Example
200 - Success
{
    "id": 22425807,
    "created_at": "2023-11-20T06:45:00.435Z",
    "api_key": "hJIklVJx9-09-EfqnYa0uU0LgX7d-JyJdBUve8Bm",
    "email": "user@example.com"
}
Modified at 2025-10-31 10:37:20
Previous
Get users session token
Next
Log out all device
Built with