Bitrix24 Sites API

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

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 99

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 /landing.block.addcard Add a card to a block in a landing page · Add Card to Block landing.block.addcard #
Ask an LLM
“How do I add a new card to a block on a landing page?”
“Can I insert a card into a block by its selector?”
Tell an agent
Add card {content} to block {block} on landing {lid}.
Insert a card into block {block} of page {lid} using selector {selector}.
POST /landing.block.changeAnchor Change or remove a block's anchor · Change the Anchor of the Block landing.block.changeAnchor #
Ask an LLM
“How do I change the anchor of a block on a landing page?”
“Can I remove a block's custom anchor?”
Tell an agent
Change the anchor of block {block} on landing {lid} to {data}.
Remove the anchor from block {block} of page {lid}.
POST /landing.block.changeNodeName Change the HTML tag of a block element · Change HTML Tag of a Block Element landing.block.changeNodeName #
Ask an LLM
“How do I change the HTML tag of an element inside a block?”
“Can I switch a block element from a div to a section?”
Tell an agent
Change the HTML tag of block {block} on landing {lid} to {data}.
Rename the element in block {block} of page {lid} using {data}.
POST /landing.block.clonecard Clone a card in a block · Clone Card of Block landing.block.clonecard #
Ask an LLM
“How do I duplicate a card inside a block?”
“Can I copy a card by its selector?”
Tell an agent
Clone card {selector} in block {block} on landing {lid}.
Copy the card {selector} of block {block} on page {lid}.
POST /landing.block.getContentFromRepository Get a block's HTML from the repository · Get Block Content from Repository landing.block.getContentFromRepository #
Ask an LLM
“How do I fetch the raw HTML of a block from the repository?”
“Can I get a block's content by its code?”
Tell an agent
Get the HTML content of block {code} from the repository.
Fetch the raw block {code} content for reuse.
POST /landing.block.getbyid Get a landing block by ID · Get Block by ID landing.block.getbyid #
Ask an LLM
“How do I fetch one block of a landing page by its ID?”
“Can I read the draft version of a block instead of the published one?”
Tell an agent
Get landing block {block} on page {lid}.
Read the draft block {block} for {lid} with deleted set to {deleted}.
POST /landing.block.getcontent Get a block's ready HTML · Get Content of Block landing.block.getcontent #
Ask an LLM
“How do I get the ready HTML of a block with its resources?”
“Can I include the wrapper div when fetching a block's content?”
Tell an agent
Get the ready HTML of block {block} on landing {lid}.
Fetch block {block} on page {lid} with wrapper {wrapper_show}.
POST /landing.block.getlist List the blocks of a landing page · Get the List of Page Blocks landing.block.getlist #
Ask an LLM
“How do I list all the blocks on a landing page?”
“Can I include deleted blocks in the block list?”
Tell an agent
List the blocks of landing {lid}.
List blocks on page {lid} including deleted ones {deleted}.
POST /landing.block.getmanifest Get the manifest of a landing block · Get the Manifest of the landing.block.getmanifest Method #
Ask an LLM
“What fields, such as code and preview, does a block have in its manifest?”
“Can I get the localized titles and assets for a block placed on a page?”
Tell an agent
Get the manifest for block {block} on page {lid}.
Show the localized titles and preview of block {block} on {lid}.
POST /landing.block.getmanifestfile Get a block's original manifest file · Get the Manifest File of the Block landing.block.getmanifestfile #
Ask an LLM
“How do I get the original manifest of a block from the file repository?”
“Can I fetch a block's manifest without service fields?”
Tell an agent
Get the original manifest file of block {code}.
Fetch the raw block {code} manifest from the repository.
POST /landing.block.getrepository List blocks in the block repository · Get a List of Blocks from the Repository landing.block.getrepository #
Ask an LLM
“What blocks are available in the block repository?”
“Can I list only one section of the block repository?”
Tell an agent
List the blocks in the block repository.
List blocks in the {section} section of the repository.
POST /landing.block.removecard Remove a card from a block · Remove Card from Block landing.block.removecard #
Ask an LLM
“How do I remove a card from a block?”
“Can I delete a card by its selector?”
Tell an agent destructive · confirm first
Remove card {selector} from block {block} on landing {lid}.
Delete the card {selector} in block {block} of page {lid}.
POST /landing.block.updateCards Update cards and nodes in a block · Update Cards in landing.block.updateCards #
Ask an LLM
“How do I update several cards in a block at once?”
“Can I change the order of cards in a block?”
Tell an agent
Update cards in block {block} on landing {lid} with {data}.
Reorder cards in block {block} of page {lid} using {source} and {values}.
POST /landing.block.updateStyles Update CSS classes and styles of block elements · Update Styles for landing.block.updateStyles #
Ask an LLM
“How do I change the CSS classes of elements inside a block?”
“Can I remove certain CSS properties from a block's elements?”
Tell an agent
Update the styles of block {block} on landing {lid} with {data}.
Remove {affect} from the styles of block {block} on page {lid}.
POST /landing.block.updateattrs Update attributes of block elements · Change Attributes of Block Elements landing.block.updateattrs #
Ask an LLM
“How do I change the href or alt attributes of elements in a block?”
“Can I update several attributes of block elements at once?”
Tell an agent
Update the attributes of block {block} on landing {lid} with {data}.
Change the attributes of block {block} on page {lid}.
POST /landing.block.updatecontent Replace a block's HTML content · Update Content of the Block landing.block.updatecontent #
Ask an LLM
“How do I replace the entire HTML of a block?”
“Can I mark a block as manually modified when replacing its content?”
Tell an agent
Replace the content of block {block} on landing {lid} with {content}.
Overwrite block {block} on page {lid} with {content}, marked as {designed}.
POST /landing.block.updatenodes Update nodes of a block · Update Nodes of the Block landing.block.updatenodes #
Ask an LLM
“How do I update the nodes of a block without touching its styles or attributes?”
“Can I append menu items to a block's menu?”
Tell an agent
Update the nodes of block {block} on landing {lid} with {data}.
Append menu items to block {block} on page {lid} using {appendMenu}.
POST /landing.block.uploadfile Upload and attach an image to a block · Upload and Attach an Image to the Block landing.block.uploadfile #
Ask an LLM
“How do I upload an image and attach it to a block?”
“Can I resize an image when uploading it to a block?”
Tell an agent
Upload {picture} to block {block} and attach it.
Upload {picture} to block {block} with width {width} and height {height}.
POST /landing.demos.getList List registered landing templates · Get a List of Registered Templates landing.demos.getList #
Ask an LLM
“What landing templates are registered?”
“Can I filter and sort the list of landing templates?”
Tell an agent
List the registered landing templates.
List landing templates matching {filter}.
POST /landing.demos.getPageList List templates for creating landing pages · Get a List of Templates for Creating Pages landing.demos.getPageList #
Ask an LLM
“Which templates can I use to create a new landing page?”
“Can I get the page templates for a specific filter?”
Tell an agent
List the page templates.
List page templates matching {filter}.
POST /landing.demos.getSiteList List website templates · Get a List of Templates for Creating Websites landing.demos.getSiteList #
Ask an LLM
“What website templates can I use to build a new landing page?”
“Can I filter the list of site templates by type?”
Tell an agent
List all website templates.
Show site templates matching {filter}.
POST /landing.demos.register Register a custom website template · Register a Template in the Site Creation Wizard landing.demos.register #
Ask an LLM
“How do I add my own template to the site creation wizard?”
“Can I update an existing template by its code?”
Tell an agent
Register template {name} with code {site_code}.
Add a new site template {name} of type {type} with pages {items}.
POST /landing.demos.unregister Delete a registered website template · Delete Registered Template landing.demos.unregister #
Ask an LLM
“How do I remove a template I registered in the wizard?”
“Can I delete a site template by its code?”
Tell an agent destructive · confirm first
Delete the registered site template.
Remove the template I added to the wizard.
POST /landing.landing.add Add a page or folder to a site · Add Page or Folder landing.landing.add #
Ask an LLM
“How do I create a new page or folder on a site?”
“Can I add a new page to a specific folder on the site?”
Tell an agent
Add a new page to site {SITE_ID} titled {TITLE}.
Create a folder {TITLE} on site {SITE_ID} in folder {FOLDER_ID}.
POST /landing.landing.addByTemplate Create a page from a template · Add Page by Template landing.landing.addByTemplate #
Ask an LLM
“How do I build a new page from an existing template?”
“Can I override the template's title and description when creating the page?”
Tell an agent
Create a page from template {code} on site {siteId}.
Build a new page from template {code} on site {siteId} titled {TITLE}.
POST /landing.landing.addblock Add a block to a page · Add Block to Page landing.landing.addblock #
Ask an LLM
“How do I add a new block to an existing page?”
“Can I insert a block after a specific block on the page?”
Tell an agent
Add block {CODE} to page {lid}.
Insert block {CODE} after block {AFTER_ID} on page {lid}.
POST /landing.landing.copy Copy a page · Copy Page landing.landing.copy #
Ask an LLM
“How do I duplicate an existing page?”
“Can I copy a page into a different site?”
Tell an agent
Copy page {lid}.
Duplicate page {lid} into site {toSiteId}.
POST /landing.landing.copyblock Copy a block to a page · Copy Block to Page landing.landing.copyblock #
Ask an LLM
“How do I copy a block from one page to another?”
“Can I insert the copied block after a specific block on the target page?”
Tell an agent
Copy block {block} to page {lid}.
Insert a copy of block {block} after block {AFTER_ID} on page {lid}.
POST /landing.landing.delete Delete a page · Delete Page landing.landing.delete #
Ask an LLM
“How do I permanently remove a page and its blocks?”
“Does deleting a page also delete the files it uses?”
Tell an agent destructive · confirm first
Delete page {lid}.
Remove the page and its blocks from site {lid}.
POST /landing.landing.deleteblock Delete a block from a page · Delete Block from Page landing.landing.deleteblock #
Ask an LLM
“How do I remove a block from a page?”
“Are the files and images in a deleted block removed too?”
Tell an agent destructive · confirm first
Delete block {block} from page {lid}.
Remove the {block} block from the page.
POST /landing.landing.downblock Move a block down on a page · Move Block Down landing.landing.downblock #
Ask an LLM
“How do I move a block one position down on a page?”
“Can I move a block down without adding an edit to the change history?”
Tell an agent
Move block {block} down on page {lid}.
Shift block {block} down on page {lid} with preventHistory {preventHistory}.
POST /landing.landing.favoriteBlock Save a block as a template · Save to the list of blocks landing.landing.favoriteBlock #
Ask an LLM
“How do I save a page block as a reusable template?”
“Can I save a block in a specific section of the block list?”
Tell an agent
Save block {block} from page {lid} as a favorite template.
Save block {block} from page {lid} in section {section}.
POST /landing.landing.getList List pages on a site · Get a List of Pages landing.landing.getList #
Ask an LLM
“Which pages exist on my site?”
“Can I get the public URL of each page in the site list?”
Tell an agent
List the pages on my site.
Show pages on my site with {limit} results.
POST /landing.landing.getadditionalfields Get a page's additional fields · Get Additional Fields of the Page landing.landing.getadditionalfields #
Ask an LLM
“What extra fields does a page have beyond its basic fields?”
“Can I fetch additional fields for a single page?”
Tell an agent
Show the additional fields of page {lid}.
Get extra fields for page {lid}.
POST /landing.landing.getpreview Get a page's preview image URL · Get the URL of the Preview for landing.landing.getpreview #
Ask an LLM
“Where can I get a preview image of a page?”
“Can I get a preview URL for a page's thumbnail?”
Tell an agent
Get the preview image URL for page {lid}.
Show the thumbnail preview of page {lid}.
POST /landing.landing.getpublicurl Get a page's public URL · Get Public URL of the Page landing.landing.getpublicurl #
Ask an LLM
“What is the public address of a page?”
“Can I get the full public URL of a page?”
Tell an agent
Get the public URL of page {lid}.
Show where page {lid} is live.
POST /landing.landing.hideblock Hide a block on a page · Hide Block on Page landing.landing.hideblock #
Ask an LLM
“How do I hide a block on a page without deleting it?”
“Can I hide a block on a published page?”
Tell an agent
Hide block {block} on page {lid}.
Hide the {block} block on page {lid} so it's not visible.
POST /landing.landing.markDelete Delete a page to the trash · Mark Page as Deleted landing.landing.markDelete #
Ask an LLM
“How do I move a page to the recycle bin?”
“Does marking a page as deleted unpublish it?”
Tell an agent destructive · confirm first
Mark page {lid} as deleted and move it to the trash.
Delete page {lid} from the site.
POST /landing.landing.markUnDelete Restore a page from the trash · Restore Page from Recycle Bin landing.landing.markUnDelete #
Ask an LLM
“How do I restore a page I deleted?”
“Is a restored page published automatically?”
Tell an agent
Restore page {lid} from the recycle bin.
Undelete page {lid}.
POST /landing.landing.markdeletedblock Mark a block as deleted · Mark a Block as Deleted landing.landing.markdeletedblock #
Ask an LLM
“How do I mark a block as deleted without removing it?”
“Can I restore a block I marked as deleted?”
Tell an agent destructive · confirm first
Mark block {block} on page {lid} as deleted.
Delete block {block} on page {lid} but keep it in the database.
POST /landing.landing.markundeletedblock Remove the deletion mark from a deleted landing block · Remove the deletion mark from the block landing.landing.markundeletedblock #
Ask an LLM
“How do I restore a block that was deleted from a landing page?”
“Will a restored block become visible again if it was hidden before deletion?”
Tell an agent
Remove the deletion mark from block {block} on landing {lid}.
Restore deleted block {block} on page {lid} so it can be republished.
POST /landing.landing.move Move a landing page to another site or folder · Move Page landing.landing.move #
Ask an LLM
“How do I move a landing page to a different site?”
“Can I move a page into a folder on another site?”
Tell an agent
Move landing page {lid} to site {toSiteId}.
Move page {lid} into folder {toFolderId} on site {toSiteId}.
POST /landing.landing.moveblock Move a landing block to another page · Move Block to Page landing.landing.moveblock #
Ask an LLM
“How do I move a block from one landing page to another?”
“Can a block be inserted after a specific block on the target page?”
Tell an agent
Move block {block} to page {lid}.
Move block {block} on {lid} so it comes after block {after_id}.
POST /landing.landing.publication Publish a landing page · Publish the landing.landing.publication page #
Ask an LLM
“How do I make a landing page live for visitors?”
“Does publishing a page also publish its folder?”
Tell an agent
Publish landing page {lid}.
Make page {lid} live by publishing it.
POST /landing.landing.removeEntities Remove blocks and clear image bindings from a page · Remove Blocks and Clear Image File Bindings on Page… #
Ask an LLM
“How do I delete blocks from a landing page and clear their image bindings?”
“Can I remove only the image file bindings without deleting the blocks?”
Tell an agent
Remove blocks {blocks} from landing page {lid}.
Clear image bindings {images} on page {lid} without deleting the blocks.
POST /landing.landing.resolveIdByPublicUrl Find a landing page by its public URL · Get Page ID by Public URL landing.landing.resolveIdByPublicUrl #
Ask an LLM
“How do I find the page ID for a public URL on my site?”
“Can I resolve a landing page's URL to its ID?”
Tell an agent
Find the page ID for URL {landingUrl} on site {siteId}.
Resolve public URL {landingUrl} to a landing page ID on site {siteId}.
POST /landing.landing.showblock Show a hidden block on a landing page · Show Block on Page landing.landing.showblock #
Ask an LLM
“How do I make a hidden block visible on a landing page?”
“What happens if I show a block that is still marked as deleted?”
Tell an agent
Show block {block} on landing page {lid}.
Make hidden block {block} visible on page {lid}.
POST /landing.landing.unFavoriteBlock Remove a saved block from the favorites · Remove from the saved list of blocks landing.landing.unFavoriteBlock #
Ask an LLM
“How do I remove a saved block from my favorites?”
“Are the files of a removed favorite block deleted too?”
Tell an agent destructive · confirm first
Remove saved block {blockId} from my favorites.
Delete my favorite copy {blockId} of a block.
POST /landing.landing.unpublic Unpublish a landing page · Unpublishing a Page landing.landing.unpublic #
Ask an LLM
“How do I take a landing page offline?”
“Can I unpublish a page without deleting it?”
Tell an agent destructive · confirm first
Unpublish landing page {lid}.
Take page {lid} offline.
POST /landing.landing.upblock Move a block up one position on a landing page · Move Block Up landing.landing.upblock #
Ask an LLM
“How do I move a block up one position on a landing page?”
“Can I prevent the move from being recorded in the page's change history?”
Tell an agent
Move block {block} up one position on landing page {lid}.
Move block {block} up on page {lid} without adding to change history ({preventHistory}).
POST /landing.landing.update Update a landing page's settings · Update Page landing.landing.update #
Ask an LLM
“How do I change the title or template of a landing page?”
“Can I unpublish a page by setting its deleted flag?”
Tell an agent
Update landing page {lid} with fields {fields}.
Set the title of page {lid} to {title}.
POST /landing.repo.checkContent Sanitize landing page content · Check Content for Dangerous Substrings landing.repo.checkContent #
Ask an LLM
“How do I check landing page content for dangerous substrings?”
“Can I split the content into dangerous fragments?”
Tell an agent
Check landing page content for dangerous substrings using splitter {splitter}.
Sanitize the content of this landing page.
POST /landing.repo.getList List custom landing blocks · Get a List of Custom Blocks landing.repo.getList #
Ask an LLM
“What custom blocks are available in the landing block repository?”
“Can I filter and sort the custom block list?”
Tell an agent
List custom blocks matching {filter}.
Show {limit} custom blocks ordered by {order}.
POST /landing.repo.register Add a custom block to the repository · Add a Custom Block to the Repository landing.repo.register #
Ask an LLM
“How do I register a new custom block in the landing repository?”
“Does registering a block with an existing code overwrite it?”
Tell an agent
Register custom block with manifest {manifest}.
Add a new landing block {manifest} to the repository.
POST /landing.repo.unbind Remove an embedding placement from the landing section · Remove Embedding Placement landing.repo.unbind #
Ask an LLM
“How do I unregister an embedding placement I registered?”
“Can I remove a landing section handler by its path?”
Tell an agent destructive · confirm first
Unbind the landing section handler {handler}.
Remove the embedding placement {handler} from the landing section.
POST /landing.repo.unregister Delete a user block from the repository · Delete User Block landing.repo.unregister #
Ask an LLM
“How do I delete a user block I created?”
“Can I remove a custom block from the repository by its code?”
Tell an agent destructive · confirm first
Delete the user block I registered.
Remove my custom landing block from the repository.
POST /landing.role.enable Turn role-based access on or off for sites · Enable or Disable Role-Based Access Model landing.role.enable #
Ask an LLM
“How do I enable role-based access for the Sites and Stores section?”
“Can I switch the access model mode for landing pages?”
Tell an agent
Set the landing role model to {mode}.
Enable role-based access for sites with mode {mode}.
POST /landing.role.getList List access roles for sites · Get the List of Roles landing.role.getList #
Ask an LLM
“What access roles exist for my sites?”
“Can I list roles for one site type?”
Tell an agent
List access roles for site type {scope}.
Show the roles available on {scope} sites.
POST /landing.role.getRights Get a role's rights across sites · Get Role Rights with landing.role.getRights #
Ask an LLM
“Which sites does a given role have rights on?”
“What permissions does a role hold on each site?”
Tell an agent
Show the rights of role {id}.
List the site permissions for role {id}.
POST /landing.role.isEnabled Check if role-based access is enabled · Check if the role model of permissions is enabled: landing.role.isEnabled #
Ask an LLM
“Is role-based access enabled for the Sites and Stores section?”
“What does the landing role model currently return?”
Tell an agent
Check whether the landing role model is enabled.
Tell me if role-based access is on for sites.
POST /landing.role.setAccessCodes Set access codes for a landing role · Set Access Codes for Role landing.role.setAccessCodes #
Ask an LLM
“How do I grant a landing page role access to specific users or groups?”
“Can I change the access codes of a landing role?”
Tell an agent
Set access codes {codes} for landing role {id}.
Grant landing role {id} access to users, groups and departments.
POST /landing.role.setRights Set permissions for a landing page role · Set Role Permissions for the Site List landing.role.setRights #
Ask an LLM
“How do I give a landing page role permissions on specific sites?”
“Does setting landing role permissions replace the old ones?”
Tell an agent
Set landing role {id} permissions to {rights}.
Grant landing role {id} the rights {rights} on each site.
POST /landing.site.add Create a landing page site · Add site landing.site.add #
Ask an LLM
“How do I create a new landing page site?”
“Can I set the site type and domain when creating it?”
Tell an agent
Create a landing site {TITLE} with code {CODE}.
Create a {TYPE} landing site {TITLE} on domain {DOMAIN_ID}.
POST /landing.site.addFolder Create a folder in a landing site · Add Folder to Site landing.site.addFolder #
Ask an LLM
“How do I create a folder inside a landing page site?”
“Can I nest a folder under another folder?”
Tell an agent
Create folder {TITLE} in landing site {siteId}.
Add folder {TITLE} under parent {PARENT_ID} in site {siteId}.
POST /landing.site.bindingToGroup Bind a knowledge base to a social group · Bind to Social Network Group landing.site.bindingToGroup #
Ask an LLM
“How do I connect a knowledge base to a social network group?”
“Can I bind a knowledge base to a group?”
Tell an agent
Bind the knowledge base to a social network group.
Connect the knowledge base to a group.
POST /landing.site.bindingToMenu Bind a knowledge base to a menu · Bind Knowledge Base to Menu landing.site.bindingToMenu #
Ask an LLM
“How do I add a knowledge base to a menu?”
“Can I bind a knowledge base to a menu?”
Tell an agent
Bind the knowledge base to a menu.
Add the knowledge base to a menu.
POST /landing.site.delete Delete an empty landing site · Delete Site landing.site.delete #
Ask an LLM
“Can I delete a landing page site that still has pages?”
“What happens when I delete a landing site?”
Tell an agent destructive · confirm first
Delete landing site {id}.
Remove the empty landing site {id}.
POST /landing.site.fullExport Export a landing site and its pages · Exporting the site landing.site.fullExport #
Ask an LLM
“How do I export a landing site for importing elsewhere?”
“Can I export a landing site with its pages in edit mode?”
Tell an agent
Export landing site {id} with its pages.
Export landing site {id} in edit mode {edit_mode}.
POST /landing.site.getFolders List folders in a landing site · Get Site Folders landing.site.getFolders #
Ask an LLM
“What folders are inside a landing page site?”
“Can I list only the active folders of a site?”
Tell an agent
List folders in landing site {siteId}.
Show active folders {ACTIVE} in site {siteId}.
POST /landing.site.getGroupBindings List knowledge base bindings to groups · Get Group Bindings - landing.site.getGroupBindings #
Ask an LLM
“Which knowledge bases are bound to a social group?”
“Can I see the group bindings of a knowledge base?”
Tell an agent
Show knowledge base bindings to group {groupId}.
List the knowledge base group bindings.
POST /landing.site.getList List landing page sites · Get the List of Sites landing.site.getList #
Ask an LLM
“Which landing page sites do I have?”
“Can I list only the deleted landing sites?”
Tell an agent
List my landing sites.
List landing sites matching {filter}.
POST /landing.site.getMenuBindings List knowledge base bindings to menus · Get Menu Bindings with landing.site.getMenuBindings #
Ask an LLM
“Which knowledge bases are bound to a menu?”
“Can I see the menu bindings of a knowledge base?”
Tell an agent
Show knowledge base bindings to menu {menuCode}.
List the knowledge base menu bindings.
POST /landing.site.getPreview Get the preview URL of a landing site · Get URL Preview of the Site landing.site.getPreview #
Ask an LLM
“What is the preview URL of a landing page site?”
“Can I get a preview of a site's index page?”
Tell an agent
Get the preview URL of landing site {id}.
Show a preview of site {id}.
POST /landing.site.getPublicUrl Get the public URL of a landing site · Get Public URL of the Site landing.site.getPublicUrl #
Ask an LLM
“What is the public URL of my landing page site?”
“Can I get the public URLs of several landing sites at once?”
Tell an agent
Get the public URL of landing site {id}.
Get public URLs for landing sites {id}.
POST /landing.site.getRights Get a user's permissions on a landing site · Get Access Permissions for landing.site.getRights #
Ask an LLM
“What permissions does the current user have on a landing site?”
“Can I check access rights for a landing page site?”
Tell an agent
Get my permissions on landing site {id}.
Check access rights for landing site {id}.
POST /landing.site.getadditionalfields Get a landing site's additional fields · Get Additional Fields of the Site landing.site.getadditionalfields #
Ask an LLM
“What additional fields are stored on a landing site?”
“Can I read a landing page site's extra fields?”
Tell an agent
Get the additional fields of landing site {id}.
Show extra fields on landing site {id}.
POST /landing.site.markDelete Delete a landing site · Mark the site as deleted landing.site.markDelete #
Ask an LLM
“How do I remove a website and move it to the trash?”
“Can a deleted site be restored later?”
Tell an agent destructive · confirm first
Mark landing site {id} as deleted.
Delete website {id} and send it to the recycle bin.
POST /landing.site.markFolderDelete Delete a folder in a landing site · Mark a Folder as Deleted landing.site.markFolderDelete #
Ask an LLM
“How do I delete a folder from a landing page site?”
“Does deleting a folder also delete its pages?”
Tell an agent destructive · confirm first
Delete folder {id} from landing site {scope}.
Move folder {id} in site {scope} to the trash.
POST /landing.site.markFolderUnDelete Restore a folder from the landing site trash · Restore Folder from Recycle Bin landing.site.markFolderUnDelete #
Ask an LLM
“How do I restore a folder from the landing site recycle bin?”
“Can I undo deleting a folder in a landing site?”
Tell an agent
Restore folder {id} from the landing site trash.
Undo the deletion of folder {id}.
POST /landing.site.markUnDelete Restore a deleted landing site · Restore Site from Recycle Bin landing.site.markUnDelete #
Ask an LLM
“How do I bring a deleted website back from the recycle bin?”
“Is the restored site published automatically?”
Tell an agent
Restore landing site {id} from the recycle bin.
Bring website {id} back and remove its deletion flag.
POST /landing.site.publication Publish a site and its pages · Publish the site landing.site.publication #
Ask an LLM
“How do I publish a site and all its pages so visitors can see it?”
“Will pages that are inactive stay unpublished when I publish the site?”
Tell an agent
Publish site {id} and its pages.
Make the whole site {id} live for visitors.
POST /landing.site.publicationFolder Publish a website folder and its parents · Publish the Website Folder landing.site.publicationFolder #
Ask an LLM
“How do I publish a folder on my website and all of its parent folders?”
“Can I unpublish a folder by setting mark to false?”
Tell an agent
Publish folder {folderId} on the website.
Publish folder {folderId} and its parent folders with mark {mark}.
POST /landing.site.setRights Set access permissions on a site · Set Access Permissions for landing.site.setRights #
Ask an LLM
“How do I set who can access a site using the advanced permission model?”
“Can I change a site's access rights after the role model is enabled?”
Tell an agent
Set access rights {rights} on site {id}.
Grant these permissions to site {id}: {rights}.
POST /landing.site.unPublicFolder Unpublish a website folder and its parents · Unpublishing a Website Folder landing.site.unPublicFolder #
Ask an LLM
“How do I take a folder off my website and hide it from visitors?”
“Can I unpublish a folder and all of its parent folders at once?”
Tell an agent destructive · confirm first
Unpublish folder {folderId} from the website.
Hide folder {folderId} and its parent folders from visitors.
POST /landing.site.unbindingFromGroup Unbind a knowledge base from a social group · Unbind Knowledge Base from Social Network Group landing.site.unbindingFromGroup #
Ask an LLM
“How do I stop a knowledge base from being bound to a social network group?”
“Can I remove a knowledge base's group binding without deleting the group?”
Tell an agent destructive · confirm first
Unbind the knowledge base from its social network group.
Remove the group binding on the knowledge base.
POST /landing.site.unbindingFromMenu Unbind a knowledge base from a menu · Unbind Knowledge Base from Menu landing.site.unbindingFromMenu #
Ask an LLM
“How do I take a knowledge base out of a menu without deleting the menu?”
“Can I unbind a knowledge base from a menu item?”
Tell an agent destructive · confirm first
Unbind the knowledge base from its menu.
Remove the knowledge base from the menu.
POST /landing.site.unpublic Unpublish a site and its pages · Unpublishing a Site landing.site.unpublic #
Ask an LLM
“How do I unpublish a site so visitors can no longer see it?”
“Does unpublishing a site also deactivate its folders?”
Tell an agent destructive · confirm first
Unpublish site {id} and its pages.
Hide site {id} from visitors and deactivate its folders.
POST /landing.site.update Update a site's settings · Update Site landing.site.update #
Ask an LLM
“How do I change a site's title, domain or type?”
“Can I set the 404 and 503 error pages for a site?”
Tell an agent
Update site {id} with fields {fields}.
Rename site {id} to {TITLE} and set its domain to {DOMAIN_ID}.
POST /landing.site.updateFolder Update a site folder's settings · Change Folder in landing.site.updateFolder #
Ask an LLM
“How do I rename a folder on my site or move it under a different parent?”
“Can I make a folder active or inactive?”
Tell an agent
Update folder {folderId} on site {siteId} with fields {fields}.
Rename folder {folderId} on site {siteId} to {TITLE}.
POST /landing.syspage.deleteForLanding Remove a page's special bindings across sites · Delete All Page Bindings as Special landing.syspage.deleteForLanding #
Ask an LLM
“How do I stop a page from being a special page on every site it's bound to?”
“Can I clear all special page bindings for one page at once?”
Tell an agent destructive · confirm first
Remove all special page bindings for page {id}.
Clear every site's special binding of page {id}.
POST /landing.syspage.deleteForSite Remove special page bindings from a site · Delete All Bindings of Special Pages for Site landing.syspage.deleteForSite #
Ask an LLM
“How do I unlink the special pages from a landing site?”
“Do the site and its pages get deleted when I unbind the special pages?”
Tell an agent destructive · confirm first
Delete all special page bindings for site {id}.
Unbind the special pages of website {id}.
POST /landing.syspage.get List a site's special pages · Get a List of Special Pages from landing.syspage.get #
Ask an LLM
“Which pages are set as special pages on a site?”
“Can I see only the active special pages of a site?”
Tell an agent
List the special pages of site {id}.
Show active special pages for site {id}.
POST /landing.syspage.getSpecialPage Get a special page's URL · Get the URL of the special page using landing.syspage.getSpecialPage #
Ask an LLM
“What is the URL of a site's 404 page?”
“Can I fetch the special page URL for a given type?”
Tell an agent
Get the {type} page URL for site {siteId}.
Fetch the {type} page URL for site {siteId} with additional {additional}.
POST /landing.syspage.set Set a special page for a site · Set a Special Page for the Site landing.syspage.set #
Ask an LLM
“How do I set a page as the 404 page for a site?”
“Can I assign a special page to a site by its page ID?”
Tell an agent
Set {type} as the special page for site {id}.
Make page {lid} the {type} page for site {id}.
POST /landing.template.getLandingRef List included areas on a page · Get a List of Included Areas for the landing.template.getLandingRef Page #
Ask an LLM
“Which included areas are bound to a specific page?”
“Can I see only the page-level included area bindings?”
Tell an agent
List the included areas on page {id}.
Show page-level included area bindings for page {id}.
POST /landing.template.getSiteRef List included areas on a site · Get a List of Included Areas for the Site landing.template.getSiteRef #
Ask an LLM
“Which included areas are bound to a site?”
“Can I see only the site-level included area bindings?”
Tell an agent
List the included areas on site {id}.
Show site-level included area bindings for site {id}.
POST /landing.template.getlist List view templates · Get a List of View Templates landing.template.getlist #
Ask an LLM
“What view templates are available for my account?”
“Can I filter and sort the list of view templates?”
Tell an agent
List view templates matching {params}.
Show {select} view templates ordered by {order}.
POST /landing.template.setLandingRef Set included areas on a page · Set Included Areas for landing.template.setLandingRef Page #
Ask an LLM
“How do I add a header or footer to a single page?”
“Can I bind included areas to one page only?”
Tell an agent
Set included areas {data} on page {id}.
Bind these page-level included areas to page {id}: {data}.
POST /landing.template.setSiteRef Set included areas on a site · Set Included Areas for the Site landing.template.setSiteRef #
Ask an LLM
“How do I apply a header and footer to every page of a site?”
“Can I bind included areas to a site instead of individual pages?”
Tell an agent
Set included areas {data} on site {id}.
Apply these site-level included areas to site {id}: {data}.

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-sites-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-sites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitrix24 REST 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:


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