{ "opencollection": "1.0.0", "info": { "name": "Bitrix24 REST BIconnector Drive API", "version": "1.0.0" }, "request": { "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "items": [ { "info": { "name": "Drive", "type": "folder" }, "items": [ { "info": { "name": "Get Information About Attached File disk.attachedObject.get", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.attachedObject.get", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.attachedObject.get` returns information about the attached file." }, { "info": { "name": "Copy File to Specified Folder disk.file.copyto", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.copyto", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.copyto` copies a file to the specified folder." }, { "info": { "name": "Permanently Delete File disk.file.delete", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.delete", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.delete` permanently deletes a file. If you want to move the file to the trash, use the method [disk.file.markdeleted](./disk-file-mark-deleted.md)." }, { "info": { "name": "Get File Parameters disk.file.get", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.get", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.get` returns data about a file." }, { "info": { "name": "Get Public Link for File disk.file.getExternalLink", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.getExternalLink", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.getExternalLink` returns a public link to a file." }, { "info": { "name": "List of File Versions for disk.file.getVersions", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.getVersions", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.getVersions` returns a list of file versions. Versions are returned in descending order of creation date." }, { "info": { "name": "Get Description of File Fields for disk.file.getfields", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.getfields", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.getfields` returns the description of file fields." }, { "info": { "name": "Move File to Trash disk.file.markdeleted", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.markdeleted", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.markdeleted` moves a file to the trash. Save the file ID after deletion so that it can be restored later using the [disk.file.restore](./disk-file-restore.md) method." }, { "info": { "name": "Move File to Specified Folder disk.file.moveto", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.moveto", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.moveto` moves a file to the specified folder. You cannot move a file to a folder from a different storage." }, { "info": { "name": "Rename File disk.file.rename", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.rename", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.rename` renames a file." }, { "info": { "name": "Restore File from Trash disk.file.restore", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.restore", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.restore` restores a file from the trash." }, { "info": { "name": "Restore a File from a Specific Version disk.file.restoreFromVersion", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.restoreFromVersion", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.restoreFromVersion` restores a file from a specific version." }, { "info": { "name": "Upload a New Version of a File disk.file.uploadversion", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.file.uploadversion", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.file.uploadversion` uploads a new version of a file." }, { "info": { "name": "Create a Subfolder disk.folder.addsubfolder", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.addsubfolder", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.addsubfolder` creates a subfolder." }, { "info": { "name": "Copy a folder and all its contents to the specified folder disk.folder.copyto", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.copyto", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.copyto` copies a folder and all its contents to the specified folder." }, { "info": { "name": "Permanently Delete a Folder and All Its Contents disk.folder.deletetree", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.deletetree", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.deletetree` permanently deletes a folder and all its contents. If you want to move the folder to the trash, use the method [disk.folder.markdeleted](./disk-folder-mark-deleted.md)." }, { "info": { "name": "Get Folder Parameters disk.folder.get", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.get", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.get` returns data about a folder." }, { "info": { "name": "Get a list of files and folders in the folder disk.folder.getchildren", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.getchildren", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.getchildren` returns a list of files and folders located in the folder. Only those files and folders for which the user has \"Read\" access permission are returned." }, { "info": { "name": "Get Public Link for Folder disk.folder.getexternallink", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.getexternallink", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.getexternallink` returns a public link to the folder." }, { "info": { "name": "Get Folder Field Descriptions disk.folder.getfields", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.getfields", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.getfields` returns the description of folder fields." }, { "info": { "name": "Move Folder to Trash disk.folder.markdeleted", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.markdeleted", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.markdeleted` moves a folder to the trash. Save the folder ID after deletion so that it can be restored later using the method [disk.folder.restore](./disk-folder-restore.md)" }, { "info": { "name": "Move a folder and all its contents to the specified folder disk.folder.moveto", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.moveto", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.moveto` moves a folder and all its contents to the specified folder." }, { "info": { "name": "Rename Folder disk.folder.rename", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.rename", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.rename` renames a folder." }, { "info": { "name": "Restore Folder from Trash disk.folder.restore", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.restore", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.restore` restores a folder from the trash." }, { "info": { "name": "Assign Access Permissions to Folder disk.folder.sharetouser", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.sharetouser", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.sharetouser` assigns access permissions to a folder." }, { "info": { "name": "Upload a New File to the Specified Folder disk.folder.uploadfile", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.folder.uploadfile", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.folder.uploadfile` uploads a new file to the specified folder." }, { "info": { "name": "Get a List of Available Access Levels disk.rights.getTasks", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.rights.getTasks", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.rights.getTasks` returns a list of available access levels. Use the obtained access level identifiers to set permissions on files during their upload. Specify the identifiers as the value of the `TASK_ID` parameter in the methods [disk.storage.uploadfile](../storage/di" }, { "info": { "name": "Create a Folder in the Root of the Storage disk.storage.addfolder", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.addfolder", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.addfolder` creates a folder in the root of the storage." }, { "info": { "name": "Get Storage Description disk.storage.get", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.get", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.get` returns storage data." }, { "info": { "name": "Get a list of files and folders in the root of the storage disk.storage.getchildren", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.getchildren", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.getchildren` returns a list of files and folders located in the root of the storage. Only those files and folders for which the user has \"Read\" access permission are returned." }, { "info": { "name": "Get Description of Storage Fields disk.storage.getfields", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.getfields", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.getfields` returns the description of storage fields." }, { "info": { "name": "Get Application Storage Description disk.storage.getforapp", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.getforapp", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.getforapp` returns the description of the storage associated with the application. If the storage does not exist, it creates one. The method works only in the context of the [application](../../../settings/app-installation/index.md)" }, { "info": { "name": "Get a List of Available Storages disk.storage.getlist", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.getlist", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.getlist` returns a list of available storages." }, { "info": { "name": "Get Storage Types disk.storage.gettypes", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.gettypes", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.gettypes` returns a list of storage types." }, { "info": { "name": "Rename Application Storage disk.storage.rename", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.rename", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.rename` renames the application storage. The method works only in the context of the [application](../../../settings/app-installation/index.md)" }, { "info": { "name": "Upload a New File to the Root of the Storage disk.storage.uploadfile", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.storage.uploadfile", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.storage.uploadfile` uploads a new file to the root of the storage." }, { "info": { "name": "Get File Version disk.version.get", "type": "http" }, "http": { "method": "POST", "url": "https://{portal}.bitrix24.com/rest/disk.version.get", "body": { "type": "json", "data": "{}" }, "auth": { "type": "apikey", "key": "auth", "value": "{{auth}}", "placement": "query" } }, "docs": "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 `disk.version.get` returns the version of a file." } ] } ], "bundled": true }