Bitrix24 Sites API

The Sites API from Bitrix24 — 99 operation(s) for sites.

Operations 99

POST /landing.block.addcard Add Card to Block landing.block.addcard #
POST /landing.block.changeAnchor Change the Anchor of the Block landing.block.changeAnchor #
POST /landing.block.changeNodeName Change HTML Tag of a Block Element landing.block.changeNodeName #
POST /landing.block.clonecard Clone Card of Block landing.block.clonecard #
POST /landing.block.getContentFromRepository Get Block Content from Repository landing.block.getContentFromRepository #
POST /landing.block.getbyid Get Block by ID landing.block.getbyid #
POST /landing.block.getcontent Get Content of Block landing.block.getcontent #
POST /landing.block.getlist Get the List of Page Blocks landing.block.getlist #
POST /landing.block.getmanifest Get the Manifest of the landing.block.getmanifest Method #
POST /landing.block.getmanifestfile Get the Manifest File of the Block landing.block.getmanifestfile #
POST /landing.block.getrepository Get a List of Blocks from the Repository landing.block.getrepository #
POST /landing.block.removecard Remove Card from Block landing.block.removecard #
POST /landing.block.updateCards Update Cards in landing.block.updateCards #
POST /landing.block.updateStyles Update Styles for landing.block.updateStyles #
POST /landing.block.updateattrs Change Attributes of Block Elements landing.block.updateattrs #
POST /landing.block.updatecontent Update Content of the Block landing.block.updatecontent #
POST /landing.block.updatenodes Update Nodes of the Block landing.block.updatenodes #
POST /landing.block.uploadfile Upload and Attach an Image to the Block landing.block.uploadfile #
POST /landing.demos.getList Get a List of Registered Templates landing.demos.getList #
POST /landing.demos.getPageList Get a List of Templates for Creating Pages landing.demos.getPageList #
POST /landing.demos.getSiteList Get a List of Templates for Creating Websites landing.demos.getSiteList #
POST /landing.demos.register Register a Template in the Site Creation Wizard landing.demos.register #
POST /landing.demos.unregister Delete Registered Template landing.demos.unregister #
POST /landing.landing.add Add Page or Folder landing.landing.add #
POST /landing.landing.addByTemplate Add Page by Template landing.landing.addByTemplate #
POST /landing.landing.addblock Add Block to Page landing.landing.addblock #
POST /landing.landing.copy Copy Page landing.landing.copy #
POST /landing.landing.copyblock Copy Block to Page landing.landing.copyblock #
POST /landing.landing.delete Delete Page landing.landing.delete #
POST /landing.landing.deleteblock Delete Block from Page landing.landing.deleteblock #
POST /landing.landing.downblock Move Block Down landing.landing.downblock #
POST /landing.landing.favoriteBlock Save to the list of blocks landing.landing.favoriteBlock #
POST /landing.landing.getList Get a List of Pages landing.landing.getList #
POST /landing.landing.getadditionalfields Get Additional Fields of the Page landing.landing.getadditionalfields #
POST /landing.landing.getpreview Get the URL of the Preview for landing.landing.getpreview #
POST /landing.landing.getpublicurl Get Public URL of the Page landing.landing.getpublicurl #
POST /landing.landing.hideblock Hide Block on Page landing.landing.hideblock #
POST /landing.landing.markDelete Mark Page as Deleted landing.landing.markDelete #
POST /landing.landing.markUnDelete Restore Page from Recycle Bin landing.landing.markUnDelete #
POST /landing.landing.markdeletedblock Mark a Block as Deleted landing.landing.markdeletedblock #
POST /landing.landing.markundeletedblock Remove the deletion mark from the block landing.landing.markundeletedblock #
POST /landing.landing.move Move Page landing.landing.move #
POST /landing.landing.moveblock Move Block to Page landing.landing.moveblock #
POST /landing.landing.publication Publish the landing.landing.publication page #
POST /landing.landing.removeEntities Remove Blocks and Clear Image File Bindings on Page landing.landing.removeEntities #
POST /landing.landing.resolveIdByPublicUrl Get Page ID by Public URL landing.landing.resolveIdByPublicUrl #
POST /landing.landing.showblock Show Block on Page landing.landing.showblock #
POST /landing.landing.unFavoriteBlock Remove from the saved list of blocks landing.landing.unFavoriteBlock #
POST /landing.landing.unpublic Unpublishing a Page landing.landing.unpublic #
POST /landing.landing.upblock Move Block Up landing.landing.upblock #
POST /landing.landing.update Update Page landing.landing.update #
POST /landing.repo.checkContent Check Content for Dangerous Substrings landing.repo.checkContent #
POST /landing.repo.getList Get a List of Custom Blocks landing.repo.getList #
POST /landing.repo.register Add a Custom Block to the Repository landing.repo.register #
POST /landing.repo.unbind Remove Embedding Placement landing.repo.unbind #
POST /landing.repo.unregister Delete User Block landing.repo.unregister #
POST /landing.role.enable Enable or Disable Role-Based Access Model landing.role.enable #
POST /landing.role.getList Get the List of Roles landing.role.getList #
POST /landing.role.getRights Get Role Rights with landing.role.getRights #
POST /landing.role.isEnabled Check if the role model of permissions is enabled: landing.role.isEnabled #
POST /landing.role.setAccessCodes Set Access Codes for Role landing.role.setAccessCodes #
POST /landing.role.setRights Set Role Permissions for the Site List landing.role.setRights #
POST /landing.site.add Add site landing.site.add #
POST /landing.site.addFolder Add Folder to Site landing.site.addFolder #
POST /landing.site.bindingToGroup Bind to Social Network Group landing.site.bindingToGroup #
POST /landing.site.bindingToMenu Bind Knowledge Base to Menu landing.site.bindingToMenu #
POST /landing.site.delete Delete Site landing.site.delete #
POST /landing.site.fullExport Exporting the site landing.site.fullExport #
POST /landing.site.getFolders Get Site Folders landing.site.getFolders #
POST /landing.site.getGroupBindings Get Group Bindings - landing.site.getGroupBindings #
POST /landing.site.getList Get the List of Sites landing.site.getList #
POST /landing.site.getMenuBindings Get Menu Bindings with landing.site.getMenuBindings #
POST /landing.site.getPreview Get URL Preview of the Site landing.site.getPreview #
POST /landing.site.getPublicUrl Get Public URL of the Site landing.site.getPublicUrl #
POST /landing.site.getRights Get Access Permissions for landing.site.getRights #
POST /landing.site.getadditionalfields Get Additional Fields of the Site landing.site.getadditionalfields #
POST /landing.site.markDelete Mark the site as deleted landing.site.markDelete #
POST /landing.site.markFolderDelete Mark a Folder as Deleted landing.site.markFolderDelete #
POST /landing.site.markFolderUnDelete Restore Folder from Recycle Bin landing.site.markFolderUnDelete #
POST /landing.site.markUnDelete Restore Site from Recycle Bin landing.site.markUnDelete #
POST /landing.site.publication Publish the site landing.site.publication #
POST /landing.site.publicationFolder Publish the Website Folder landing.site.publicationFolder #
POST /landing.site.setRights Set Access Permissions for landing.site.setRights #
POST /landing.site.unPublicFolder Unpublishing a Website Folder landing.site.unPublicFolder #
POST /landing.site.unbindingFromGroup Unbind Knowledge Base from Social Network Group landing.site.unbindingFromGroup #
POST /landing.site.unbindingFromMenu Unbind Knowledge Base from Menu landing.site.unbindingFromMenu #
POST /landing.site.unpublic Unpublishing a Site landing.site.unpublic #
POST /landing.site.update Update Site landing.site.update #
POST /landing.site.updateFolder Change Folder in landing.site.updateFolder #
POST /landing.syspage.deleteForLanding Delete All Page Bindings as Special landing.syspage.deleteForLanding #
POST /landing.syspage.deleteForSite Delete All Bindings of Special Pages for Site landing.syspage.deleteForSite #
POST /landing.syspage.get Get a List of Special Pages from landing.syspage.get #
POST /landing.syspage.getSpecialPage Get the URL of the special page using landing.syspage.getSpecialPage #
POST /landing.syspage.set Set a Special Page for the Site landing.syspage.set #
POST /landing.template.getLandingRef Get a List of Included Areas for the landing.template.getLandingRef Page #
POST /landing.template.getSiteRef Get a List of Included Areas for the Site landing.template.getSiteRef #
POST /landing.template.getlist Get a List of View Templates landing.template.getlist #
POST /landing.template.setLandingRef Set Included Areas for landing.template.setLandingRef Page #
POST /landing.template.setSiteRef Set Included Areas for the Site landing.template.setSiteRef #

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-sites-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

bitrix24-sites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST BIconnector Sites 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:
- name: Sites
paths:
  /landing.block.addcard:
    post:
      summary: Add Card to Block landing.block.addcard
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.addcard` adds a card to a block in the draft of a page. This method works with cards described in the `cards` key of the block manifest. If the page is already published, changes will be visible to visitors after re-publishing through the interface or using the [landing.landing.publication](../../page/methods/landing-landing-publication.md) method.
      operationId: landing_block_addcard
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-add-card.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the editable version of the page.'
                selector:
                  type: string
                  description: '| Selector of the card from the key `cards` of the block manifest'
                content:
                  type: string
                  description: '| HTML of the new card.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the action to the page change history.'
              required:
              - lid
              - block
              - selector
              - content
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the editable version of the page.'
                selector:
                  type: string
                  description: '| Selector of the card from the key `cards` of the block manifest'
                content:
                  type: string
                  description: '| HTML of the new card.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the action to the page change history.'
              required:
              - lid
              - block
              - selector
              - content
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.changeAnchor:
    post:
      summary: Change the Anchor of the Block landing.block.changeAnchor
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.changeAnchor` modifies or removes a custom anchor of a block in the draft of a page. If the page is already published, changes will be visible to visitors after publishing the updates through the interface or using the method [landing.landing.publication](../../page/methods/landing-landing-publication.md).
      operationId: landing_block_changeAnchor
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-change-anchor.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page.'
                data:
                  type: string
                  description: '| New anchor of the block without the `#` symbol.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the change to the page history.'
              required:
              - lid
              - block
              - data
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page.'
                data:
                  type: string
                  description: '| New anchor of the block without the `#` symbol.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the change to the page history.'
              required:
              - lid
              - block
              - data
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.changeNodeName:
    post:
      summary: Change HTML Tag of a Block Element landing.block.changeNodeName
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.changeNodeName` changes the HTML tag of a block element in the draft of a page. If the page is already published, changes will be visible to visitors after re-publishing through the interface or using the method [landing.landing.publication](../../page/methods/landing-landing-publication.md).
      operationId: landing_block_changeNodeName
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-change-node-name.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page'
                data:
                  type: object
                  description: '| Set of changes for block elements (detailed description) ||'
                preventHistory:
                  type: boolean
                  description: '| If `true` is passed, the method will not add the action to the page change history'
                Value:
                  type: string
                  description: '| Description ||'
              required:
              - lid
              - block
              - data
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page'
                data:
                  type: object
                  description: '| Set of changes for block elements (detailed description) ||'
                preventHistory:
                  type: boolean
                  description: '| If `true` is passed, the method will not add the action to the page change history'
                Value:
                  type: string
                  description: '| Description ||'
              required:
              - lid
              - block
              - data
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.clonecard:
    post:
      summary: Clone Card of Block landing.block.clonecard
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.clonecard` creates a copy of a card in the block within the draft of the page. It works with cards described in the `cards` key of the block manifest. If the page is already published, the changes will be visible to visitors after publication through the interface or by using the [landing.landing.publication](../../page/methods/landing-landing-publication.md) method.
      operationId: landing_block_clonecard
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-clone-card.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page.'
                selector:
                  type: string
                  description: '| Selector of the card from the cards key of the block manifest.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the action to the page change history.'
              required:
              - lid
              - block
              - selector
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Identifier of the page.'
                block:
                  type: integer
                  description: '| Identifier of the block in the draft of the page.'
                selector:
                  type: string
                  description: '| Selector of the card from the cards key of the block manifest.'
                preventHistory:
                  type: boolean
                  description: '| Do not add the action to the page change history.'
              required:
              - lid
              - block
              - selector
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getContentFromRepository:
    post:
      summary: Get Block Content from Repository landing.block.getContentFromRepository
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.getContentFromRepository` returns the HTML content of a block from the repository.
      operationId: landing_block_getContentFromRepository
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-content-from-repository.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: '| The code of the block whose content needs to be retrieved.'
              required:
              - code
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: '| The code of the block whose content needs to be retrieved.'
              required:
              - code
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getbyid:
    post:
      summary: Get Block by ID landing.block.getbyid
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.getbyid` returns a single block of a page by its identifier.
      operationId: landing_block_getbyid
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-by-id.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                block:
                  type: integer
                  description: '| Block identifier.'
                params:
                  type: object
                  description: '| Additional parameters for reading the block (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If set to `true`, the method reads the draft version of the page instead of the published version.
                deleted:
                  type: boolean
                  description: \| `integer` | If set to `true`, the method searches for blocks marked as deleted.
                get_content:
                  type: boolean
                  description: \| `integer` | If set to `true`, the `result` additionally returns the fields `content`, `css`, and `js`.
              required:
              - block
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                block:
                  type: integer
                  description: '| Block identifier.'
                params:
                  type: object
                  description: '| Additional parameters for reading the block (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If set to `true`, the method reads the draft version of the page instead of the published version.
                deleted:
                  type: boolean
                  description: \| `integer` | If set to `true`, the method searches for blocks marked as deleted.
                get_content:
                  type: boolean
                  description: \| `integer` | If set to `true`, the `result` additionally returns the fields `content`, `css`, and `js`.
              required:
              - block
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getcontent:
    post:
      summary: Get Content of Block landing.block.getcontent
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.getcontent` returns the ready HTML of the block, its resources, manifest, and service properties of the block.
      operationId: landing_block_getcontent
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-content.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Page identifier.'
                block:
                  type: integer
                  description: '| Block identifier.'
                editMode:
                  type: boolean
                  description: '| Mode for obtaining the version of the block.'
                params:
                  type: object
                  description: '| Additional parameters (detailed description) ||'
                wrapper_show:
                  type: boolean
                  description: '| Whether to return the external container of the block `<div class="block-wrapper">` in `result.content`.'
                force_unactive:
                  type: boolean
                  description: '| Generate HTML even for inactive blocks.'
              required:
              - lid
              - block
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Page identifier.'
                block:
                  type: integer
                  description: '| Block identifier.'
                editMode:
                  type: boolean
                  description: '| Mode for obtaining the version of the block.'
                params:
                  type: object
                  description: '| Additional parameters (detailed description) ||'
                wrapper_show:
                  type: boolean
                  description: '| Whether to return the external container of the block `<div class="block-wrapper">` in `result.content`.'
                force_unactive:
                  type: boolean
                  description: '| Generate HTML even for inactive blocks.'
              required:
              - lid
              - block
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getlist:
    post:
      summary: Get the List of Page Blocks landing.block.getlist
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.getlist` returns a list of blocks for the selected page.
      operationId: landing_block_getlist
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-list.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope for landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: \| [`integer[]`](../../../data-types.md) | Identifier of the page or an array of page identifiers.
                params:
                  type: object
                  description: '| Additional parameters for reading the list (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method reads the draft version of the page instead of the published version.
                deleted:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method returns only blocks marked as deleted.
                get_content:
                  type: boolean
                  description: \| `integer` | If `true` is passed, the method will add the `content`, `css`, and `js` fields to each result element. By default — `false`.
              required:
              - lid
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope for landings. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: \| [`integer[]`](../../../data-types.md) | Identifier of the page or an array of page identifiers.
                params:
                  type: object
                  description: '| Additional parameters for reading the list (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method reads the draft version of the page instead of the published version.
                deleted:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method returns only blocks marked as deleted.
                get_content:
                  type: boolean
                  description: \| `integer` | If `true` is passed, the method will add the `content`, `css`, and `js` fields to each result element. By default — `false`.
              required:
              - lid
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getmanifest:
    post:
      summary: Get the Manifest of the landing.block.getmanifest Method
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The `landing.block.getmanifest` method returns a prepared manifest of the block placed on the page. It does not return the original file but rather the prepared data for a specific block. For example, localized titles, fields such as `code`, `preview`, `assets`, `timestamp`, and `callbacks`.
      operationId: landing_block_getmanifest
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-manifest.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of the landing. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Page identifier.'
                block:
                  type: integer
                  description: '| Block identifier. The block must belong to the page `lid` in the selected version of the page.'
                params:
                  type: object
                  description: '| Additional parameters for reading the manifest (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method reads the draft of the page instead of the published version. Default is `false`.
              required:
              - lid
              - block
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                scope:
                  type: string
                  description: '| Internal scope of the landing. It is not related to the REST scope `landing` in the method name.'
                lid:
                  type: integer
                  description: '| Page identifier.'
                block:
                  type: integer
                  description: '| Block identifier. The block must belong to the page `lid` in the selected version of the page.'
                params:
                  type: object
                  description: '| Additional parameters for reading the manifest (detailed description) ||'
                edit_mode:
                  type: boolean
                  description: \| `integer` | If the value is cast to `true`, the method reads the draft of the page instead of the published version. Default is `false`.
              required:
              - lid
              - block
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixResponse'
        4XX:
          description: Request error (400, 401, 403)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BitrixError'
      security:
      - AccessToken: []
      - OAuth2:
        - landing
  /landing.block.getmanifestfile:
    post:
      summary: Get the Manifest File of the Block landing.block.getmanifestfile
      description: If you are developing integrations for Bitrix24 using AI tools (Codex, Claude Code, Cursor), connect to the [MCP server](../../../../ai-tools/mcp.md) so that the assistant can utilize the official REST documentation. The method `landing.block.getmanifestfile` returns the original manifest of the block from the file repository. Unlike [landing.block.getmanifest](./landing-block-get-manifest.md), this method returns the manifest in its original form — as specified in the `.description.php` file. It does not add any service fields, such as `code`, `preview`, or `timestamp`.
      operationId: landing_block_getmanifestfile
      tags:
      - Sites
      externalDocs:
        url: https://apidocs.bitrix24.com/api-reference/landing/block/methods/landing-block-get-manifest-file.html
        description: Official Documentation
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: '| The code of the block from the file repository.'
              required:
              - code
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                code:
                  type: string
                  description: '| The code of the block from the file repository.'
              required:
              - code
      responses:
        '200':
          description: Successful response
          content:
         

# --- truncated at 32 KB (293 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/bitrix24/refs/heads/main/openapi/bitrix24-sites-api-openapi.yml