# Bots Business Api ## API Docs - Authentication [Login Account](https://bbapi.tgbro.link/login-account-23330250e0.md): 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**. - Authentication [Register New User](https://bbapi.tgbro.link/register-new-user-23330537e0.md): Use this endpoint to register new users on [Bots.Business](https://bots.business) platform - Authentication [Get telegram login url](https://bbapi.tgbro.link/get-telegram-login-url-23330644e0.md): Send a post request to this endpoint to get an telegram login url, then you can redirect user to the url and confirm login using sign in enpoint, you do not have to post any data to this endpoint - Authentication [Telegram login](https://bbapi.tgbro.link/telegram-login-23330709e0.md): Use this enpoint to login using telegram telegram, use the secret you generated from get telegram login url endpoint, - Authentication [Reset Password](https://bbapi.tgbro.link/reset-password-23330926e0.md): Ues this endpoint to get a fresh password in your mail box - User account [Get user details](https://bbapi.tgbro.link/get-user-details-23331057e0.md): Use this enpoin to get user details includng **api_key** which an be used to send request to othe rendpoints. - User account [Update email](https://bbapi.tgbro.link/update-email-23331107e0.md): Use this endpoint to update you user emal address. - User account [Update password](https://bbapi.tgbro.link/update-password-23331123e0.md): USe this endpoint to update user password - User account [Get linked telegram accounts](https://bbapi.tgbro.link/get-linked-telegram-accounts-23331205e0.md): Use this endpoint to get linked telegram accounts. Those accounts user linked with bots business - User account [Get telegram link url](https://bbapi.tgbro.link/get-telegram-link-url-23331209e0.md): Use this endpoint to link new telegram id with user bb account - User account [Get users session token](https://bbapi.tgbro.link/get-users-session-token-23331214e0.md): Use this endpoint to get use session tokens, This will show how many active logins user have. - User account [Reset api key](https://bbapi.tgbro.link/reset-api-key-23331230e0.md): Use this endpoint to reset user api_key, no need to send any data in post - User account [Log out all device](https://bbapi.tgbro.link/log-out-all-device-23331601e0.md): Use this endpoint to clear all session and log them out. - Bots [Create Bot](https://bbapi.tgbro.link/create-bot-23331967e0.md): Use this endpoint to create a new bot. - Bots [Get Bots](https://bbapi.tgbro.link/get-bots-23331979e0.md): Use this endpoint to get list of your bots. - Bots [Edit Bot](https://bbapi.tgbro.link/edit-bot-23332195e0.md): Use this endpoint to edit an existing bot. - Bots [Launch or Stop Bot](https://bbapi.tgbro.link/launch-or-stop-bot-23332241e0.md): Use this endpoint to launch a bot - Bots [Start CSV import](https://bbapi.tgbro.link/start-csv-import-23332402e0.md): Use this endpoint to start importing bot commands from csv - Bots [CSV import task status](https://bbapi.tgbro.link/csv-import-task-status-23332453e0.md): Use this endpoint to checl csv import status - Bots [Delete Bot](https://bbapi.tgbro.link/delete-bot-23346546e0.md): Use this endpoint to delete a bot - Bots [Copy Bot](https://bbapi.tgbro.link/copy-bot-23346598e0.md): Use this endpoint to make a copy of your bot. - Bots [Git export](https://bbapi.tgbro.link/git-export-23346609e0.md): USe this endpoint to start exporting bot from github repository, - Bots [Git import](https://bbapi.tgbro.link/git-import-23346612e0.md): Use thi endpoint to import bot from github repository. - Bots [Get installed libraries](https://bbapi.tgbro.link/get-installed-libraries-23369955e0.md): Use this endpoint to install a library onto your bot. Once installed, the library's functionality will be available for use in your bot's commands . - Bots [Install Lib](https://bbapi.tgbro.link/install-lib-23370036e0.md): - Bots [Uninstall lib](https://bbapi.tgbro.link/uninstall-lib-23370144e0.md): Use this endpoint to uninstall a library from your bot. This will remove the library's functionality and make its features unavailable for your bot's commands. - Bots [Get error log](https://bbapi.tgbro.link/get-error-log-23374207e0.md): Use this endpoint to retrieve error logs for your bot. The response will contain detailed information about any errors that have occurred, including timestamps and error messages. - Bots [Clear error logs](https://bbapi.tgbro.link/clear-error-logs-23374465e0.md): Use this endpoint to permanently clear all error logs from your bot's history. This action cannot be undone. - Commands > Folders [Create a folder](https://bbapi.tgbro.link/create-a-folder-23347136e0.md): - Commands > Folders [Delet a folder](https://bbapi.tgbro.link/delet-a-folder-23347140e0.md): Use tis endpoint to delete an existing folder - Commands > Folders [Get all folders](https://bbapi.tgbro.link/get-all-folders-23347263e0.md): Get list of command folders - Commands [Get Commands](https://bbapi.tgbro.link/get-commands-23346913e0.md): Use this endpoint to get all the commands. - Commands [Get Command Details](https://bbapi.tgbro.link/get-command-details-23346926e0.md): Use this endpoint to ge a single command - Commands [Create Command](https://bbapi.tgbro.link/create-command-23346952e0.md): Use this endpoint to create a new command for a specific bot. - Commands [Edit Command](https://bbapi.tgbro.link/edit-command-23347062e0.md): Use this endpoint to update an existing command. - Commands [Delete Command](https://bbapi.tgbro.link/delete-command-23347121e0.md): Use this endpoint to delete a command - Broadcast [Get broadcast tasks](https://bbapi.tgbro.link/get-broadcast-tasks-23364419e0.md): Use this endpoints to get active and completed broadcast tasks - Broadcast [Delete Broadcast task](https://bbapi.tgbro.link/delete-broadcast-task-23364460e0.md): Use this endpoint to permanently delete an existing broadcast task from the system. - Broadcast [Pause broadcast task](https://bbapi.tgbro.link/pause-broadcast-task-23367719e0.md): Use this endpoint to pasue an existing broadcast task. - Broadcast [Resume broadcast task](https://bbapi.tgbro.link/resume-broadcast-task-23367760e0.md): Use this endpoint to resume a previously paused broadcast task. - Chats [Get chats](https://bbapi.tgbro.link/get-chats-23367907e0.md): Use this endpoint to get private and group chats - Chats [Block chat](https://bbapi.tgbro.link/block-chat-23368395e0.md): Use this endpoint to block a specific chat from receiving messages. Once blocked, your bot will no longer receive updates or messages from that chat. - Chats [Unblock chat](https://bbapi.tgbro.link/unblock-chat-23368420e0.md): Use this endpoint to unblock a chat that was previously blocked. This will restore the bot's ability to receive updates and send messages to that chat. - Properties [Get properties](https://bbapi.tgbro.link/get-properties-23369540e0.md): Use this endpoint to retrieve a list of properties created for your bot or for any specific users. - Properties [Delete property](https://bbapi.tgbro.link/delete-property-23369615e0.md): Use this endpoint to permanently delete a specific property from the system. - Libraries [Get libraries](https://bbapi.tgbro.link/get-libraries-23369712e0.md): Use this endpoint to retrieve a list of available libraries that can be installed for your bot. - Admin Panel [Get panels](https://bbapi.tgbro.link/get-panels-23373351e0.md): Use this endpoint to retrieve a list of all available admin panels for your bot configuration and management. - Admin Panel [Save panel value](https://bbapi.tgbro.link/save-panel-value-23373946e0.md): Use this endpoint to update the values of specific fields within an admin panel. This allows you to modify configuration settings and panel properties.