Bitrix24 Open Lines API

The Open Lines API from Bitrix24 — 50 operation(s) for open lines.

GitHub OpenAPI

Operations 50

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /imconnector.activate Activate or deactivate an open line connector · Activate Connector imconnector.activate #
Ask an LLM
“How do I turn on a custom connector for an open line?”
“Can I deactivate a connector without deleting it?”
Tell an agent
Activate connector {connector} on open line {line}.
Set connector {connector} on line {line} active to {active}.
POST /imconnector.chat.name.set Rename a chat on an open line · Set a New Chat Name imconnector.chat.name.set #
Ask an LLM
“Can I rename the chat that an external connector created on an open line?”
“What do I pass to give a chat a new name?”
Tell an agent
Rename chat {chat_id} on connector {connector} open line {line} to {name}.
Set the chat {chat_id} name on {connector} line {line} to {name}.
POST /imconnector.connector.data.set Set channel settings for an open line connector · Set Connector Settings imconnector.connector.data.set #
Ask an LLM
“How do I set the channel name and URL for a connector on an open line?”
“Can I change the channel settings of an open line connector?”
Tell an agent
Set channel settings {data} for connector {connector} on open line {line}.
Update the channel name and URL of {connector} line {line} to {data}.
POST /imconnector.delete.messages Delete messages sent by an external connector · Delete Sent Messages imconnector.delete.messages #
Ask an LLM
“Can I delete messages an external connector sent to an open line?”
“What do I need to pass to remove sent messages from a chat?”
Tell an agent destructive · confirm first
Delete messages {messages} from connector {connector} on open line {line}.
Remove the sent messages {messages} on {connector} line {line}.
POST /imconnector.list List registered open line connectors · Get the List of Connectors imconnector.list #
Ask an LLM
“Which custom connectors are registered for open lines?”
“What connectors can I use for an open line?”
Tell an agent
List all open line connectors.
Show the registered connectors for open lines.
POST /imconnector.register Register a custom open line connector · Register the Connector imconnector.register #
Ask an LLM
“How do I register a custom connector for an open line?”
“What settings does a new open line connector need?”
Tell an agent
Register connector {id} named {name} with icon {icon} and settings handler {handler}.
Add a new open line connector {id} with icon {icon} and handler {handler}.
POST /imconnector.send.messages Send messages from an external connector to an open line · Send Messages to Bitrix24 imconnector.send.messages #
Ask an LLM
“How do I forward messages from my external system into a Bitrix24 open line?”
“Can I send messages with files to an open line connector?”
Tell an agent
Send messages {messages} from connector {connector} to open line {line}.
Forward {messages} from {connector} into {line}.
POST /imconnector.send.status.delivery Confirm messages from an open line were delivered · Update Status "Delivered" imconnector.send.status.delivery #
Ask an LLM
“How do I tell Bitrix24 that messages sent from an open line were delivered?”
“Does confirming delivery also mark messages as read?”
Tell an agent
Confirm delivery of messages {messages} from connector {connector} on open line {line}.
Mark {messages} from {connector} line {line} as delivered.
POST /imconnector.send.status.reading Confirm messages from an open line were read · Update Status to "Read" imconnector.send.status.reading #
Ask an LLM
“How do I mark messages sent from an open line as read?”
“Can I send a read receipt for open line messages?”
Tell an agent
Confirm messages {messages} from connector {connector} on open line {line} were read.
Mark {messages} from {connector} line {line} as read.
POST /imconnector.status Check an open line connector's status · Get the Status of the Connector imconnector.status #
Ask an LLM
“Is my open line connector active?”
“What is the current status of a connector on an open line?”
Tell an agent
Get the status of connector {connector}.
Check whether connector {connector} on open line {line} is active.
POST /imconnector.unregister Unregister an open line connector · Unregister the Connector imconnector.unregister #
Ask an LLM
“How do I remove a custom connector from an open line?”
“Can I unregister an open line connector I no longer use?”
Tell an agent destructive · confirm first
Unregister connector {id}.
Remove the open line connector {id}.
POST /imconnector.update.messages Update messages sent by an external connector · Update Sent Messages with imconnector.update.messages #
Ask an LLM
“Can I edit a message an external connector sent to an open line?”
“How do I change the text of a sent message?”
Tell an agent
Update messages {messages} from connector {connector} on open line {line}.
Edit the sent messages {messages} on {connector} line {line}.
POST /imopenlines.bot.session.finish End a chatbot's dialog on an open line · Finish Dialog imopenlines.bot.session.finish #
Ask an LLM
“How do I end the chatbot's conversation on an open line?”
“Can I finish a dialog on an open line from my app?”
Tell an agent
Finish the chatbot session in chat {chat_id}.
End the open line dialog {chat_id} from the bot.
POST /imopenlines.bot.session.message.send Send an automatic message in a chatbot dialog · Send an Automatic Message in the imopenlines.bot.session.message.send Dialog #
Ask an LLM
“Can my chatbot send an automatic message in an open line dialog?”
“How do I send a bot message to a chatbot session?”
Tell an agent
Send the bot message {message} in chat {chat_id}.
Have the chatbot send {message} to chat {chat_id}.
POST /imopenlines.bot.session.operator Switch a chatbot dialog to a free operator · Switch Dialog to Free Operator imopenlines.bot.session.operator #
Ask an LLM
“How do I hand a chatbot's conversation on an open line over to a free operator?”
“Can the bot switch a dialog to an operator?”
Tell an agent
Switch chat {chat_id} from the bot to a free operator.
Pass the open line dialog {chat_id} to an available operator.
POST /imopenlines.bot.session.transfer Transfer a chatbot dialog to an operator or queue · Transfer a Dialogue to an Operator or Queue using… #
Ask an LLM
“How do I transfer a chatbot's conversation on an open line to a specific operator?”
“Can I send a bot dialog to a queue?”
Tell an agent
Transfer chat {chat_id} to operator {user_id}.
Send the open line dialog {chat_id} to queue {queue_id}.
POST /imopenlines.config.add Add an open channel · Add Open Channel imopenlines.config.add #
Ask an LLM
“How do I add a new open channel?”
“Can I set the queue type when adding an open channel?”
Tell an agent
Add open channel {line_name} with settings {params}.
Create an open channel {line_name} using queue type {queue_type}.
POST /imopenlines.config.delete Delete an open channel · Delete Open Channel imopenlines.config.delete #
Ask an LLM
“How do I remove an open channel?”
“Can I delete an open channel by its ID?”
Tell an agent destructive · confirm first
Delete open channel {config_id}.
Remove the open channel {config_id}.
POST /imopenlines.config.get Get an open channel's settings · Get Open Line by ID imopenlines.config.get #
Ask an LLM
“What are the settings of a specific open channel?”
“Can I include queue data when fetching an open channel?”
Tell an agent
Get open channel {config_id}.
Show open channel {config_id} with queue data {with_queue}.
POST /imopenlines.config.list.get List open channels · Get the List of Open Channels imopenlines.config.list.get #
Ask an LLM
“Which open channels exist in my account?”
“Can I filter and sort the list of open channels?”
Tell an agent
List all open channels.
Show open channels matching {filter}, ordered by {order}.
POST /imopenlines.config.path.get Get the public page link for open channels · Get Link to Public Page of Open Channels imopenlines.config.path.get #
Ask an LLM
“Where is the public page for my open channels hosted?”
“Can I get the link to the open line public page?”
Tell an agent
Get the public page link for my open channels.
Show the URL of the open channels public page.
POST /imopenlines.config.update Update an open channel · Update Open Channel imopenlines.config.update #
Ask an LLM
“Can I change the settings of an existing open channel?”
“How do I edit an open channel configuration?”
Tell an agent
Update open channel {config_id} with {params}.
Change the settings of open channel {config_id}.
POST /imopenlines.crm.chat.get List chats linked to a CRM object · Get Chats for CRM Object imopenlines.crm.chat.get #
Ask an LLM
“Which chats are linked to a particular deal or lead?”
“Can I list only active chats for a CRM object?”
Tell an agent
List chats for {crm_entity_type} {crm_entity}.
Show {crm_entity_type} {crm_entity} chats with active only {active_only}.
POST /imopenlines.crm.chat.getLastId Get the last chat ID for a CRM object · Get the Id of the Last Chat imopenlines.crm.chat.getLastId #
Ask an LLM
“What is the ID of the most recent chat for a deal?”
“Can I fetch just the latest chat ID for a CRM entity?”
Tell an agent
Get the last chat ID for {crm_entity_type} {crm_entity}.
Find the newest chat on {crm_entity_type} {crm_entity}.
POST /imopenlines.crm.chat.user.add Add a user to a chat linked to a CRM object · Add User to Existing Chat imopenlines.crm.chat.user.add #
Ask an LLM
“Can I add a colleague to a chat on a deal?”
“How do I bring a user into an existing chat for a lead?”
Tell an agent
Add user {user_id} to the chat on {crm_entity_type} {crm_entity}.
Invite {user_id} to chat {chat_id} for {crm_entity_type} {crm_entity}.
POST /imopenlines.crm.chat.user.delete Remove a user from a chat linked to a CRM object · Remove User from Chat imopenlines.crm.chat.user.delete #
Ask an LLM
“Can I remove a colleague from a chat on a deal?”
“How do I take a user out of an existing lead chat?”
Tell an agent destructive · confirm first
Remove user {user_id} from the chat on {crm_entity_type} {crm_entity}.
Kick {user_id} out of chat {chat_id} for {crm_entity_type} {crm_entity}.
POST /imopenlines.crm.lead.create Create a lead from an open channel chat · Create a Lead Based on the Dialogue imopenlines.crm.lead.create #
Ask an LLM
“Can I turn a visitor's chat into a CRM lead?”
“How do I create a lead from an open line conversation?”
Tell an agent
Create a lead from chat {chat_id}.
Turn the open channel conversation in chat {chat_id} into a lead.
POST /imopenlines.crm.message.add Send a message in a chat linked to a CRM object · Send a Message to Open Channel imopenlines.crm.message.add #
Ask an LLM
“Can I reply to a visitor on a deal chat as an employee?”
“How do I send a message in a chat tied to a lead?”
Tell an agent
Send {message} in chat {chat_id} on {crm_entity_type} {crm_entity} as {user_id}.
Reply to the lead chat {chat_id} with {message} from {user_id}.
POST /imopenlines.dialog.get Get an open line chat's data · Get Information About the Operator's Dialog imopenlines.dialog.get #
Ask an LLM
“What are the details of a visitor's open line chat?”
“Can I look up an open line dialog by chat ID or session ID?”
Tell an agent
Get the open line chat {chat_id}.
Show the open line dialog with session {session_id}.
POST /imopenlines.message.quick.save Save a chat message as a quick answer · Save Message as Quick Answer imopenlines.message.quick.save #
Ask an LLM
“Can I save a visitor's message as a quick answer?”
“How do I add a chat message to the quick answers list?”
Tell an agent
Save message {message_id} from chat {chat_id} as a quick answer.
Add the chat message {message_id} in {chat_id} to quick answers.
POST /imopenlines.message.session.start Start a new session from a chat message · Start a New Dialogue Based on the Message imopenlines.message.session.start #
Ask an LLM
“Can I start a new session from a message in an open line chat?”
“How do I transfer a chat message into a fresh session?”
Tell an agent
Start a new session from message {message_id} in chat {chat_id}.
Transfer chat {chat_id} message {message_id} into a new session.
POST /imopenlines.network.join Connect an external open channel · Connect an External Open Channel to the Account imopenlines.network.join #
Ask an LLM
“Can I connect an open channel from another Bitrix24 account?”
“How do I join a network open channel by its code?”
Tell an agent
Connect external open channel {code}.
Join the network open channel with code {code}.
POST /imopenlines.network.message.add Send a message on a network open channel · Send a message to a user on behalf of the Open Channel… #
Ask an LLM
“Can I send a message to a user on an open channel in another account?”
“How do I post on a network open channel as an employee?”
Tell an agent
Send {message} to user {user_id} on network open channel {code}.
Post {message} on network open channel {code} for {user_id} with keyboard {keyboard}.
POST /imopenlines.operator.another.finish Finish another operator's open line chat · Finish Another Operator's Dialog imopenlines.operator.another.finish #
Ask an LLM
“Can I end a visitor's chat that another operator owns?”
“How do I close an open line dialog assigned to someone else?”
Tell an agent destructive · confirm first
Finish the open line chat {chat_id}.
Close the dialog in chat {chat_id} that another operator is handling.
POST /imopenlines.operator.answer Take an open line chat for myself · Take the dialog for yourself imopenlines.operator.answer #
Ask an LLM
“Can I assign an open line chat to my own operator account?”
“How do I claim a visitor's open line conversation?”
Tell an agent
Answer open line chat {chat_id}.
Take ownership of the open line dialog in chat {chat_id}.
POST /imopenlines.operator.finish Finish my own open line chat · Finish Your Dialogue imopenlines.operator.finish #
Ask an LLM
“Can I end the open line conversation I'm handling?”
“How do I close my own open line chat?”
Tell an agent destructive · confirm first
Finish my open line chat {chat_id}.
Close the open line dialog I'm working on in chat {chat_id}.
POST /imopenlines.operator.skip Skip an open line chat to the next operator · Skip Dialog imopenlines.operator.skip #
Ask an LLM
“Can I pass an open line chat to the next operator in the queue?”
“How do I skip a visitor's open line conversation?”
Tell an agent
Skip open line chat {chat_id}.
Pass the open line dialog in chat {chat_id} to the next operator.
POST /imopenlines.operator.spam Mark an open line chat as spam · Mark a conversation as "spam" imopenlines.operator.spam #
Ask an LLM
“Can I mark a visitor's open line chat as spam?”
“How do I end and flag an open line conversation as spam?”
Tell an agent destructive · confirm first
Mark open line chat {chat_id} as spam.
Flag the open line dialog in chat {chat_id} as spam and end it.
POST /imopenlines.operator.transfer Transfer an open line chat to another operator · Transfer a dialog to another operator or to another line… #
Ask an LLM
“Can I hand an open line chat over to a specific operator?”
“How do I move an open line conversation to another queue?”
Tell an agent
Transfer open line chat {chat_id} to operator {user_id}.
Move the open line dialog in chat {chat_id} to queue {queue_id}.
POST /imopenlines.revision.get Get information about open channel API revisions · Get Information About API Revisions imopenlines.revision.get #
Ask an LLM
“What API revisions exist for open channels?”
“Can I check the open line API revision history?”
Tell an agent
Get the open channel API revisions.
Show information about open lines API revisions.
POST /imopenlines.session.head.vote Rate an operator's performance on a chat · Rate Employee Performance in the imopenlines.session.head.vote Dialog #
Ask an LLM
“How do I give a manager's rating and comment on a completed chat?”
“Can I leave a comment when rating an operator's performance?”
Tell an agent
Rate chat {session} with {rating} and comment {comment}.
Save a {rating} star rating on session {session}.
POST /imopenlines.session.history.get Get the message history of a chat · Get Message History of the Dialogue imopenlines.session.history.get #
Ask an LLM
“What messages were exchanged in a chat?”
“Can I see the full history of an open line session?”
Tell an agent
Get the message history of chat {chat}.
Show the full dialogue history for session {session}.
POST /imopenlines.session.intercept Take over a chat from the current operator · Take Over the Dialogue from the Current Operator imopenlines.session.intercept #
Ask an LLM
“How do I grab a chat that another operator is handling?”
“Can I transfer a dialogue to myself?”
Tell an agent
Intercept chat {chat}.
Take over the dialogue in chat {chat} from the current operator.
POST /imopenlines.session.join Join an active chat · Join the Dialogue imopenlines.session.join #
Ask an LLM
“How do I join an open line chat that is already in progress?”
“Can I add myself to an active dialogue?”
Tell an agent
Join chat {chat}.
Add me to the active dialogue in chat {chat}.
POST /imopenlines.session.mode.pin Pin or unpin a chat · Pin or Unpin a Dialog imopenlines.session.mode.pin #
Ask an LLM
“How do I pin a chat so it stays at the top of my list?”
“Can I unpin a chat I pinned earlier?”
Tell an agent
Pin chat {chat}.
Set pin mode {activate} on chat {chat}.
POST /imopenlines.session.mode.pinAll Pin all available chats · Pin All Available Dialogs to the Operator imopenlines.session.mode.pinAll #
Ask an LLM
“How do I pin every active chat to my list at once?”
“Can I pin all open chats in one call?”
Tell an agent
Pin all available chats.
Pin every active chat to my list.
POST /imopenlines.session.mode.silent Switch a chat to silent mode · Switch the dialog to silent mode imopenlines.session.mode.silent #
Ask an LLM
“How do I mute a chat so I don't get notifications?”
“Is silent mode still in development or does it still work?”
Tell an agent
Switch chat {chat} to silent mode.
Set silent mode {activate} on chat {chat}.
POST /imopenlines.session.mode.unpinAll Unpin all chats · Unpin All Operator Dialogs imopenlines.session.mode.unpinAll #
Ask an LLM
“How do I unpin every chat from my list?”
“Can I clear all pinned chats at once?”
Tell an agent
Unpin all chats.
Unpin every pinned chat from my list.
POST /imopenlines.session.open Open a chat by user code · Get Chat by User Code imopenlines.session.open #
Ask an LLM
“How do I find the chat ID for a visitor using their user code?”
“Can I open an open line chat from an external user code?”
Tell an agent
Open the chat for user code {user_code}.
Get the chat ID for external user code {user_code}.
POST /imopenlines.session.start Start a new chat session · Start a New Dialogue imopenlines.session.start #
Ask an LLM
“How do I start a new session in an open line chat?”
“Can I kick off a fresh dialogue in a chat?”
Tell an agent
Start a new session in chat {chat}.
Open a fresh dialogue in chat {chat}.

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitrix24:bitrix24-open-lines-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

bitrix24-open-lines-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST Open Lines API
  version: 1.0.0
  description: 'Bitrix24 REST API provides access to CRM, tasks, drive, chats, telephony, e-commerce, automation, and other modules. Documentation: https://apidocs.bitrix24.com'
  contact:
    name: Bitrix24 Developer Support
    url: https://apidocs.bitrix24.com/support.html
  license:
    name: MIT
    url: https://github.com/bitrix-tools/b24-rest-docs/blob/main/LICENSE
  x-logo:
    url: https://apidocs.bitrix24.com/_images/bitrix24logo.svg
servers:
- url: https://{portal}.bitrix24.com/rest
  description: Your Bitrix24 portal (cloud)
  variables:
    portal:
      default: your-portal
      description: Subdomain of your Bitrix24 portal
- url: https://{host}/rest
  description: On-Premise Bitrix24 installation
  variables:
    host:
      default: your-bitrix24.example.com
      description: Host of your on-premise installation
security:
- AccessToken: []
tags:


# --- truncated at 32 KB (139 KB total) ---
# Full source: https://artifacts.apis.io/bitrix24/openapi/bitrix24-open-lines-api-openapi.yml