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 linked telegram accounts

GET
/user/linked_accounts
Use this endpoint to get linked telegram accounts. Those accounts user linked with bots business

Request

Query 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/linked_accounts?api_key=UKDZu-c68cubrIbniuE2P_nWj0p5r4IHARNrAV-I'

Responses

🔵304Success
application/json
Body

Example
[
    {
        "id": 41952866,
        "first_name": "First name",
        "last_name": "last name",
        "username": "username",
        "telegramid": 519829299,
        "created_at": "2024-11-23T03:55:45.350Z",
        "language_code": "en"
    },
    {
        "id": 41952868,
        "first_name": "First name",
        "last_name": "last name",
        "username": "username",
        "telegramid": 7378059553,
        "created_at": "2024-11-23T03:55:45.367Z",
        "language_code": null
    }
]
Previous
Update password
Next
Get telegram link url
Built with