LINK Block
Choose a tool for developing with an AI agent:
- use Alaio Vibecode to build an app for Bitrix24 from a task description without knowing any programming language. The agent writes the code and deploys the app to a server, with no manual hosting setup
- use the MCP server to develop a REST API integration in your own project. The agent refers to the official REST documentation
The LINK block displays a link with a title, a description, and an optional preview image. Pass the block as an element of the attachment's BLOCKS array — general rules and limits are described on the Attachments in Messages ATTACH page.

When to Use LINK
Use LINK when a link should appear as a separate card with a title, a description, and a preview — for example, a link to a task, a document, or a deal in a bot notification.
Choose a different block if:
- the link is part of the text. Use the
[URL=https://example.com]text[/URL]BB code in the MESSAGE block - you need to show an employee with an avatar. Use the USER block
- the link is a value in a property card. Use the
LINKfield of a GRID block element
Block Parameters
|
Name |
Description |
|
LINK* |
URL of the link. Absolute URLs ( |
|
NAME |
Title of the link. If not specified, |
|
DESC |
Description under the link title. |
|
HTML |
A legacy alternative to |
|
PREVIEW |
URL of the preview image. |
|
WIDTH |
Width of the preview in pixels. Applies only together with |
|
HEIGHT |
Height of the preview in pixels. Applies only together with |
|
USER_ID |
Bitrix24 user ID. It is retained in the attachment, but the web client does not implement navigation by it |
|
CHAT_ID |
Bitrix24 chat ID. It is retained in the attachment, but the web client does not implement navigation by it |
|
NETWORK_ID |
Bitrix24 Network user ID: a letter followed by a number. If several IDs are passed, only one is retained, in order of priority: |
Examples
How to Use Examples in Documentation
The examples show a single element of the BLOCKS array.
External Page with a Preview
{
LINK: {
PREVIEW: 'https://example.com/bitrix/templates/bitrix-new/images/logo.png',
WIDTH: 1000,
HEIGHT: 638,
NAME: 'Ticket #12345: New API for the "Web Messenger" Module',
DESC: 'Must be implemented by the release!',
LINK: 'https://api.bitrix24.com/'
}
}
block = {
"LINK": {
"PREVIEW": "https://api.bitrix24.com/bitrix/templates/1c-bitrix-new/images/logo.png",
"WIDTH": 1000,
"HEIGHT": 638,
"NAME": 'Ticket #12345: new API for the "Web Messenger" module',
"DESC": "Must be implemented by the release!",
"LINK": "https://api.bitrix24.com/",
},
}
[
'LINK' => [
'PREVIEW' => 'https://example.com/bitrix/templates/bitrix-new/images/logo.png',
'WIDTH' => 1000,
'HEIGHT' => 638,
'NAME' => 'Ticket #12345: New API for the "Web Messenger" Module',
'DESC' => 'Must be implemented by the release!',
'LINK' => 'https://api.bitrix24.com/'
]
]
Bitrix24 Page
A relative path opens the page on the same Bitrix24 account the message was sent from.
{
LINK: {
NAME: 'Deal #142: equipment delivery',
DESC: 'Responsible: Klaus Weber',
LINK: '/crm/deal/details/142/'
}
}
block = {
"LINK": {
"NAME": "Deal #142: equipment delivery",
"DESC": "Responsible: Klaus Weber",
"LINK": "/crm/deal/details/142/",
},
}
[
'LINK' => [
'NAME' => 'Deal #142: equipment delivery',
'DESC' => 'Responsible: Klaus Weber',
'LINK' => '/crm/deal/details/142/'
]
]